#200542#200542

#200542 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.104 H 296.5°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#200542
RGBrgb(32, 5, 66)
HSLhsl(267, 86%, 14%)
HSVhsv(267, 92%, 26%)
CMYKcmyk(51.5%, 92.4%, 0%, 74.1%)
CIE-LABlab(7.31, 28.56, -32.49)
CIE-LCHlch(7.31, 43.25, 311.32°)
OKLaboklab(21.4% 0.0465 -0.0932)
OKLCHoklch(21.4% 0.104 296.5)
XYZxyz(1.6330, 0.8089, 5.2233)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200542 #274205
analogous
#050942 #200542 #3F0542
triadic
#200542 #422005 #054220
tetradic
#200542 #420509 #274205 #05423F
square
#200542 #420509 #274205 #05423F
split-complementary
#200542 #423F05 #094205
monochromatic
#0E021C #0E021C #200542 #3C097B #570EB4

Accessibility & contrast

On white

18.08
#200542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#200542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200542
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200542#FFFFFF#000000##FFFFFF
##2005421.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001644
Deuteranopia (green-blind)
#001541
Tritanopia (blue-blind)
#161724
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #200542;
/* rgb */ color: rgb(32, 5, 66);
/* oklch */ color: oklch(21.4% 0.104 296.5);
Tailwind
colors: {
  custom: {
    50: '#604977',
    500: '#200542',
    950: '#000000',
  },
}
SCSS
$custom: #200542;
$custom-light: #604977;
$custom-dark: #000000;
JSON
{
  "hex": "#200542",
  "rgb": {
    "r": 32,
    "g": 5,
    "b": 66
  },
  "hsl": {
    "h": 266.557,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.214,
    "c": 0.10421,
    "h": 296.5
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#200542
secondary
#578220
accent
#FC2CA0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #200542

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

Preview Lab → · Contrast checker → · Palette generator →

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