#200D3C#200D3C

#200D3C is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.085 H 297.4°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#200D3C
RGBrgb(32, 13, 60)
HSLhsl(264, 64%, 14%)
HSVhsv(264, 78%, 24%)
CMYKcmyk(46.7%, 78.3%, 0%, 76.5%)
CIE-LABlab(8.32, 22.12, -26.55)
CIE-LCHlch(8.32, 34.56, 309.80°)
OKLaboklab(21.93% 0.0393 -0.0758)
OKLCHoklch(21.93% 0.085 297.4)
XYZxyz(1.5550, 0.9211, 4.3700)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200D3C #293C0D
analogous
#0D123C #200D3C #380D3C
triadic
#200D3C #3C200D #0D3C20
tetradic
#200D3C #3C0D12 #293C0D #0D3C38
square
#200D3C #3C0D12 #293C0D #0D3C38
split-complementary
#200D3C #3C380D #123C0D
monochromatic
#0D0519 #0D0519 #200D3C #3B186E #5623A1

Accessibility & contrast

On white

17.73
#200D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #200D3C
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200D3C#FFFFFF#000000##FFFFFF
##200D3C1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#191823
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #200d3c;
/* rgb */ color: rgb(32, 13, 60);
/* oklch */ color: oklch(21.9% 0.085 297.4);
Tailwind
colors: {
  custom: {
    50: '#5f4d72',
    500: '#200d3c',
    950: '#000000',
  },
}
SCSS
$custom: #200d3c;
$custom-light: #5f4d72;
$custom-dark: #000000;
JSON
{
  "hex": "#200d3c",
  "rgb": {
    "r": 32,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 264.255,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21934,
    "c": 0.08536,
    "h": 297.4
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#200D3C
secondary
#5A782D
accent
#E740A4
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #200D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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