#200D4C#200D4C

#200D4C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.107 H 289.2°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#200D4C
RGBrgb(32, 13, 76)
HSLhsl(258, 71%, 17%)
HSVhsv(258, 83%, 30%)
CMYKcmyk(57.9%, 82.9%, 0%, 70.2%)
CIE-LABlab(9.93, 27.28, -35.20)
CIE-LCHlch(9.93, 44.54, 307.77°)
OKLaboklab(23.57% 0.0352 -0.1012)
OKLCHoklch(23.57% 0.107 289.2)
XYZxyz(2.0437, 1.1166, 6.9439)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200D4C #394C0D
analogous
#0D1A4C #200D4C #3F0D4C
triadic
#200D4C #4C200D #0D4C20
tetradic
#200D4C #4C0D1A #394C0D #0D4C3F
square
#200D4C #4C0D1A #394C0D #0D4C3F
split-complementary
#200D4C #4C3F0D #1A4C0D
monochromatic
#0B041A #0B041A #200D4C #361680 #4C1FB5

Accessibility & contrast

On white

17.17
#200D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#200D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200D4C
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200D4C#FFFFFF#000000##FFFFFF
##200D4C1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#001A4B
Tritanopia (blue-blind)
#0F1E2C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #200d4c;
/* rgb */ color: rgb(32, 13, 76);
/* oklch */ color: oklch(23.6% 0.107 289.2);
Tailwind
colors: {
  custom: {
    50: '#624e7f',
    500: '#200d4c',
    950: '#000000',
  },
}
SCSS
$custom: #200d4c;
$custom-light: #624e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#200d4c",
  "rgb": {
    "r": 32,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 258.095,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23573,
    "c": 0.10715,
    "h": 289.2
  },
  "luminance": 0.01117
}

Semantic roles & 50–950 ramp

primary
#200D4C
secondary
#6C872E
accent
#EE3AB7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #200D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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