#200842#200842

#200842 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.100 H 295.6°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#200842
RGBrgb(32, 8, 66)
HSLhsl(265, 78%, 15%)
HSVhsv(265, 88%, 26%)
CMYKcmyk(51.5%, 87.9%, 0%, 74.1%)
CIE-LABlab(7.89, 26.88, -31.52)
CIE-LCHlch(7.89, 41.43, 310.45°)
OKLaboklab(21.82% 0.0433 -0.0904)
OKLCHoklch(21.82% 0.1 295.6)
XYZxyz(1.6656, 0.8740, 5.2342)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200842 #2A4208
analogous
#080D42 #200842 #3D0842
triadic
#200842 #422008 #084220
tetradic
#200842 #42080D #2A4208 #08423D
square
#200842 #42080D #2A4208 #08423D
split-complementary
#200842 #423D08 #0D4208
monochromatic
#0D031B #0D031B #200842 #3A0F79 #5515AF

Accessibility & contrast

On white

17.88
#200842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #200842
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200842#FFFFFF#000000##FFFFFF
##2008421.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #200842;
/* rgb */ color: rgb(32, 8, 66);
/* oklch */ color: oklch(21.8% 0.100 295.6);
Tailwind
colors: {
  custom: {
    50: '#604a77',
    500: '#200842',
    950: '#000000',
  },
}
SCSS
$custom: #200842;
$custom-light: #604a77;
$custom-dark: #000000;
JSON
{
  "hex": "#200842",
  "rgb": {
    "r": 32,
    "g": 8,
    "b": 66
  },
  "hsl": {
    "h": 264.828,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21822,
    "c": 0.10018,
    "h": 295.6
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#200842
secondary
#5B8025
accent
#F533A5
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #200842

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

Preview Lab → · Contrast checker → · Palette generator →

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