#200942#200942

#200942 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.099 H 295.3°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#200942
RGBrgb(32, 9, 66)
HSLhsl(264, 76%, 15%)
HSVhsv(264, 86%, 26%)
CMYKcmyk(51.5%, 86.4%, 0%, 74.1%)
CIE-LABlab(8.09, 26.31, -31.20)
CIE-LCHlch(8.09, 40.81, 310.14°)
OKLaboklab(21.96% 0.0422 -0.0894)
OKLCHoklch(21.96% 0.099 295.3)
XYZxyz(1.6765, 0.8958, 5.2378)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200942 #2B4209
analogous
#090E42 #200942 #3D0942
triadic
#200942 #422009 #094220
tetradic
#200942 #42090E #2B4209 #09423D
square
#200942 #42090E #2B4209 #09423D
split-complementary
#200942 #423D09 #0E4209
monochromatic
#0D041B #0D041B #200942 #3A1078 #5418AE

Accessibility & contrast

On white

17.81
#200942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#200942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200942
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200942#FFFFFF#000000##FFFFFF
##2009421.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001741
Tritanopia (blue-blind)
#161925
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #200942;
/* rgb */ color: rgb(32, 9, 66);
/* oklch */ color: oklch(22.0% 0.099 295.3);
Tailwind
colors: {
  custom: {
    50: '#604b77',
    500: '#200942',
    950: '#000000',
  },
}
SCSS
$custom: #200942;
$custom-light: #604b77;
$custom-dark: #000000;
JSON
{
  "hex": "#200942",
  "rgb": {
    "r": 32,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 264.211,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21959,
    "c": 0.0989,
    "h": 295.3
  },
  "luminance": 0.00896
}

Semantic roles & 50–950 ramp

primary
#200942
secondary
#5C8027
accent
#F335A6
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #200942

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

Preview Lab → · Contrast checker → · Palette generator →

#200942 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva