#200D3E#200D3E

#200D3E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.088 H 296.2°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#200D3E
RGBrgb(32, 13, 62)
HSLhsl(263, 65%, 15%)
HSVhsv(263, 79%, 24%)
CMYKcmyk(48.4%, 79%, 0%, 75.7%)
CIE-LABlab(8.50, 22.76, -27.68)
CIE-LCHlch(8.50, 35.83, 309.43°)
OKLaboklab(22.13% 0.0389 -0.0791)
OKLCHoklch(22.13% 0.088 296.2)
XYZxyz(1.6089, 0.9427, 4.6537)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200D3E #2B3E0D
analogous
#0D133E #200D3E #390D3E
triadic
#200D3E #3E200D #0D3E20
tetradic
#200D3E #3E0D13 #2B3E0D #0D3E39
square
#200D3E #3E0D13 #2B3E0D #0D3E39
split-complementary
#200D3E #3E390D #133E0D
monochromatic
#0D0519 #0D0519 #200D3E #3A1871 #5422A3

Accessibility & contrast

On white

17.67
#200D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #200D3E
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200D3E#FFFFFF#000000##FFFFFF
##200D3E1.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#181924
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #200d3e;
/* rgb */ color: rgb(32, 13, 62);
/* oklch */ color: oklch(22.1% 0.088 296.2);
Tailwind
colors: {
  custom: {
    50: '#5f4d74',
    500: '#200d3e',
    950: '#000000',
  },
}
SCSS
$custom: #200d3e;
$custom-light: #5f4d74;
$custom-dark: #000000;
JSON
{
  "hex": "#200d3e",
  "rgb": {
    "r": 32,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 263.265,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22127,
    "c": 0.08814,
    "h": 296.2
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#200D3E
secondary
#5C7A2D
accent
#E840A7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #200D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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