#200B42#200B42

#200B42 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.096 H 294.6°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#200B42
RGBrgb(32, 11, 66)
HSLhsl(263, 71%, 15%)
HSVhsv(263, 83%, 26%)
CMYKcmyk(51.5%, 83.3%, 0%, 74.1%)
CIE-LABlab(8.48, 25.21, -30.57)
CIE-LCHlch(8.48, 39.62, 309.51°)
OKLaboklab(22.23% 0.0402 -0.0876)
OKLCHoklch(22.23% 0.096 294.6)
XYZxyz(1.6984, 0.9397, 5.2451)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200B42 #2D420B
analogous
#0B1142 #200B42 #3B0B42
triadic
#200B42 #42200B #0B4220
tetradic
#200B42 #420B11 #2D420B #0B423B
square
#200B42 #420B11 #2D420B #0B423B
split-complementary
#200B42 #423B0B #11420B
monochromatic
#0D041A #0D041A #200B42 #391476 #531CAB

Accessibility & contrast

On white

17.68
#200B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#200B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200B42
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200B42#FFFFFF#000000##FFFFFF
##200B421.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001841
Tritanopia (blue-blind)
#161A26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #200b42;
/* rgb */ color: rgb(32, 11, 66);
/* oklch */ color: oklch(22.2% 0.096 294.6);
Tailwind
colors: {
  custom: {
    50: '#604c77',
    500: '#200b42',
    950: '#000000',
  },
}
SCSS
$custom: #200b42;
$custom-light: #604c77;
$custom-dark: #000000;
JSON
{
  "hex": "#200b42",
  "rgb": {
    "r": 32,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 262.909,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22232,
    "c": 0.09635,
    "h": 294.6
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#200B42
secondary
#5E7F2A
accent
#EE3AA9
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #200B42

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#200B42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva