#200D40#200D40

#200D40 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.091 H 295.0°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#200D40
RGBrgb(32, 13, 64)
HSLhsl(262, 66%, 15%)
HSVhsv(262, 80%, 25%)
CMYKcmyk(50%, 79.7%, 0%, 74.9%)
CIE-LABlab(8.70, 23.40, -28.79)
CIE-LCHlch(8.70, 37.10, 309.10°)
OKLaboklab(22.32% 0.0384 -0.0824)
OKLCHoklch(22.32% 0.091 295)
XYZxyz(1.6648, 0.9650, 4.9481)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200D40 #2D400D
analogous
#0D1340 #200D40 #390D40
triadic
#200D40 #40200D #0D4020
tetradic
#200D40 #400D13 #2D400D #0D4039
square
#200D40 #400D13 #2D400D #0D4039
split-complementary
#200D40 #40390D #13400D
monochromatic
#0D0519 #0D0519 #200D40 #391773 #5322A6

Accessibility & contrast

On white

17.60
#200D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #200D40
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200D40#FFFFFF#000000##FFFFFF
##200D401.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#171A25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #200d40;
/* rgb */ color: rgb(32, 13, 64);
/* oklch */ color: oklch(22.3% 0.091 295.0);
Tailwind
colors: {
  custom: {
    50: '#5f4d75',
    500: '#200d40',
    950: '#000000',
  },
}
SCSS
$custom: #200d40;
$custom-light: #5f4d75;
$custom-dark: #000000;
JSON
{
  "hex": "#200d40",
  "rgb": {
    "r": 32,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 262.353,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22324,
    "c": 0.09091,
    "h": 295
  },
  "luminance": 0.00965
}

Semantic roles & 50–950 ramp

primary
#200D40
secondary
#5E7C2D
accent
#E93FAA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #200D40

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

Preview Lab → · Contrast checker → · Palette generator →

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