#200C3E#200C3E

#200C3E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.090 H 296.6°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#200C3E
RGBrgb(32, 12, 62)
HSLhsl(264, 68%, 15%)
HSVhsv(264, 81%, 24%)
CMYKcmyk(48.4%, 80.6%, 0%, 75.7%)
CIE-LABlab(8.29, 23.36, -28.03)
CIE-LCHlch(8.29, 36.49, 309.81°)
OKLaboklab(21.97% 0.0401 -0.0801)
OKLCHoklch(21.97% 0.09 296.6)
XYZxyz(1.5964, 0.9178, 4.6495)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200C3E #2A3E0C
analogous
#0C113E #200C3E #390C3E
triadic
#200C3E #3E200C #0C3E20
tetradic
#200C3E #3E0C11 #2A3E0C #0C3E39
square
#200C3E #3E0C11 #2A3E0C #0C3E39
split-complementary
#200C3E #3E390C #113E0C
monochromatic
#0D051A #0D051A #200C3E #3A1671 #5520A5

Accessibility & contrast

On white

17.74
#200C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#200C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200C3E
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200C3E#FFFFFF#000000##FFFFFF
##200C3E1.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#181824
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #200c3e;
/* rgb */ color: rgb(32, 12, 62);
/* oklch */ color: oklch(22.0% 0.090 296.6);
Tailwind
colors: {
  custom: {
    50: '#5f4c74',
    500: '#200c3e',
    950: '#000000',
  },
}
SCSS
$custom: #200c3e;
$custom-light: #5f4c74;
$custom-dark: #000000;
JSON
{
  "hex": "#200c3e",
  "rgb": {
    "r": 32,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 264,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21972,
    "c": 0.08961,
    "h": 296.6
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#200C3E
secondary
#5B7A2C
accent
#EA3DA5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #200C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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