#200C42#200C42

#200C42 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.095 H 294.3°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#200C42
RGBrgb(32, 12, 66)
HSLhsl(262, 69%, 15%)
HSVhsv(262, 82%, 26%)
CMYKcmyk(51.5%, 81.8%, 0%, 74.1%)
CIE-LABlab(8.68, 24.63, -30.23)
CIE-LCHlch(8.68, 39.00, 309.17°)
OKLaboklab(22.38% 0.0391 -0.0866)
OKLCHoklch(22.38% 0.095 294.3)
XYZxyz(1.7102, 0.9633, 5.2490)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200C42 #2E420C
analogous
#0C1342 #200C42 #3B0C42
triadic
#200C42 #42200C #0C4220
tetradic
#200C42 #420C13 #2E420C #0C423B
square
#200C42 #420C13 #2E420C #0C423B
split-complementary
#200C42 #423B0C #13420C
monochromatic
#0D051A #0D051A #200C42 #391576 #521FAA

Accessibility & contrast

On white

17.61
#200C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #200C42
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200C42#FFFFFF#000000##FFFFFF
##200C421.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001841
Tritanopia (blue-blind)
#161A26
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #200c42;
/* rgb */ color: rgb(32, 12, 66);
/* oklch */ color: oklch(22.4% 0.095 294.3);
Tailwind
colors: {
  custom: {
    50: '#604d77',
    500: '#200c42',
    950: '#000000',
  },
}
SCSS
$custom: #200c42;
$custom-light: #604d77;
$custom-dark: #000000;
JSON
{
  "hex": "#200c42",
  "rgb": {
    "r": 32,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 262.222,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22375,
    "c": 0.09502,
    "h": 294.3
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#200C42
secondary
#607E2C
accent
#EC3CAB
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #200C42

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

Preview Lab → · Contrast checker → · Palette generator →

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