#200D42#200D42

#200D42 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.094 H 293.9°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#200D42
RGBrgb(32, 13, 66)
HSLhsl(262, 67%, 15%)
HSVhsv(262, 80%, 26%)
CMYKcmyk(51.5%, 80.3%, 0%, 74.1%)
CIE-LABlab(8.89, 24.04, -29.89)
CIE-LCHlch(8.89, 38.36, 308.81°)
OKLaboklab(22.53% 0.038 -0.0856)
OKLCHoklch(22.53% 0.094 293.9)
XYZxyz(1.7227, 0.9882, 5.2532)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200D42 #2F420D
analogous
#0D1542 #200D42 #3A0D42
triadic
#200D42 #42200D #0D4220
tetradic
#200D42 #420D15 #2F420D #0D423A
square
#200D42 #420D15 #2F420D #0D423A
split-complementary
#200D42 #423A0D #15420D
monochromatic
#0C051A #0C051A #200D42 #391775 #5221A8

Accessibility & contrast

On white

17.54
#200D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#200D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200D42
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200D42#FFFFFF#000000##FFFFFF
##200D421.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001841
Tritanopia (blue-blind)
#161B26
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #200d42;
/* rgb */ color: rgb(32, 13, 66);
/* oklch */ color: oklch(22.5% 0.094 293.9);
Tailwind
colors: {
  custom: {
    50: '#604d77',
    500: '#200d42',
    950: '#000000',
  },
}
SCSS
$custom: #200d42;
$custom-light: #604d77;
$custom-dark: #000000;
JSON
{
  "hex": "#200d42",
  "rgb": {
    "r": 32,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 261.509,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22525,
    "c": 0.09366,
    "h": 293.9
  },
  "luminance": 0.00988
}

Semantic roles & 50–950 ramp

primary
#200D42
secondary
#617E2D
accent
#EA3EAC
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #200D42

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

Preview Lab → · Contrast checker → · Palette generator →

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