#200642#200642

#200642 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.103 H 296.2°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#200642
RGBrgb(32, 6, 66)
HSLhsl(266, 83%, 14%)
HSVhsv(266, 91%, 26%)
CMYKcmyk(51.5%, 90.9%, 0%, 74.1%)
CIE-LABlab(7.50, 28.00, -32.17)
CIE-LCHlch(7.50, 42.65, 311.04°)
OKLaboklab(21.54% 0.0454 -0.0923)
OKLCHoklch(21.54% 0.103 296.2)
XYZxyz(1.6439, 0.8306, 5.2269)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200642 #284206
analogous
#060A42 #200642 #3E0642
triadic
#200642 #422006 #064220
tetradic
#200642 #42060A #284206 #06423E
square
#200642 #42060A #284206 #06423E
split-complementary
#200642 #423E06 #0A4206
monochromatic
#0E031C #0E031C #200642 #3B0B7A #5610B2

Accessibility & contrast

On white

18.01
#200642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#200642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200642
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200642#FFFFFF#000000##FFFFFF
##2006421.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001744
Deuteranopia (green-blind)
#001641
Tritanopia (blue-blind)
#161724
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #200642;
/* rgb */ color: rgb(32, 6, 66);
/* oklch */ color: oklch(21.5% 0.103 296.2);
Tailwind
colors: {
  custom: {
    50: '#604977',
    500: '#200642',
    950: '#000000',
  },
}
SCSS
$custom: #200642;
$custom-light: #604977;
$custom-dark: #000000;
JSON
{
  "hex": "#200642",
  "rgb": {
    "r": 32,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 266,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21543,
    "c": 0.10284,
    "h": 296.2
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#200642
secondary
#588222
accent
#FA2EA1
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #200642

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

Preview Lab → · Contrast checker → · Palette generator →

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