#0600A2

A color in the Violet family

#0600a2 is a color in the Violet family: RGB(6, 0, 162), HSL(242°, 100%, 32%), CMYK(96%, 100%, 0%, 36%). Closest named color: darkblue. Contrast is 13.73:1 on white and 1.53:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#0600a2
RGBrgb(6 0 162)
RGB (legacy)rgb(6, 0, 162)
RGB %rgb(2% 0% 64%)
HSLhsl(242 100% 32%)
HSV / HSBhsv(242, 100%, 64%)
HWBhwb(242 0% 36%)
CMYKcmyk(96%, 100%, 0%, 36%)
CIELAB (D50)lab(16.65 48.74 -79.45)
LCHlch(16.65 93.21 301.53)
OKLaboklab(0.3236 -0.0188 -0.221)
OKLCHoklch(0.3236 0.2218 265.14)
Decimal393378

Properties

Color ToneViolet
Closest named colordarkblue ΔE 4.2
Closest web-safe color#000099
Hue242°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)32%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)8% / 5%
Relative luminance (WCAG)0.0265
Red / Green / Blue6 / 0 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.73:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.53:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 97.6 / 0 · As background with white / black text: Lc -101.1 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #0600a2;
  --color-brand-oklch: oklch(32.36% 0.2218 265.14);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(6 0 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0600a2] text-[#0600a2] border-[#0600a2]">