#200D38#200D38

#200D38 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.080 H 300.0°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#200D38
RGBrgb(32, 13, 56)
HSLhsl(267, 62%, 14%)
HSVhsv(267, 77%, 22%)
CMYKcmyk(42.9%, 76.8%, 0%, 78%)
CIE-LABlab(7.95, 20.85, -24.26)
CIE-LCHlch(7.95, 31.99, 310.69°)
OKLaboklab(21.56% 0.0399 -0.069)
OKLCHoklch(21.56% 0.08 300)
XYZxyz(1.4532, 0.8804, 3.8340)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200D38 #25380D
analogous
#0D0F38 #200D38 #350D38
triadic
#200D38 #38200D #0D3820
tetradic
#200D38 #380D0F #25380D #0D3835
square
#200D38 #380D0F #25380D #0D3835
split-complementary
#200D38 #38350D #0F380D
monochromatic
#0E0619 #0E0619 #200D38 #3C196A #59249B

Accessibility & contrast

On white

17.86
#200D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #200D38
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200D38#FFFFFF#000000##FFFFFF
##200D381.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#001737
Tritanopia (blue-blind)
#1B1721
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #200d38;
/* rgb */ color: rgb(32, 13, 56);
/* oklch */ color: oklch(21.6% 0.080 300.0);
Tailwind
colors: {
  custom: {
    50: '#5e4d6f',
    500: '#200d38',
    950: '#000000',
  },
}
SCSS
$custom: #200d38;
$custom-light: #5e4d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#200d38",
  "rgb": {
    "r": 32,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 266.512,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21559,
    "c": 0.07974,
    "h": 300
  },
  "luminance": 0.0088
}

Semantic roles & 50–950 ramp

primary
#200D38
secondary
#54732D
accent
#E5429D
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #200D38

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

Preview Lab → · Contrast checker → · Palette generator →

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