#200838#200838

#200838 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.087 H 302.0°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#200838
RGBrgb(32, 8, 56)
HSLhsl(270, 75%, 13%)
HSVhsv(270, 86%, 22%)
CMYKcmyk(42.9%, 85.7%, 0%, 78%)
CIE-LABlab(6.92, 23.65, -25.92)
CIE-LCHlch(6.92, 35.09, 312.37°)
OKLaboklab(20.79% 0.0464 -0.0742)
OKLCHoklch(20.79% 0.087 302)
XYZxyz(1.3961, 0.7663, 3.8150)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200838 #203808
analogous
#080838 #200838 #380838
triadic
#200838 #382008 #083820
tetradic
#200838 #380808 #203808 #083838
square
#200838 #380808 #203808 #083838
split-complementary
#200838 #383808 #083808
monochromatic
#0F041B #0F041B #200838 #3F106E #5D17A3

Accessibility & contrast

On white

18.21
#200838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#200838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200838
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200838#FFFFFF#000000##FFFFFF
##2008381.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001539
Deuteranopia (green-blind)
#001537
Tritanopia (blue-blind)
#1B141F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #200838;
/* rgb */ color: rgb(32, 8, 56);
/* oklch */ color: oklch(20.8% 0.087 302.0);
Tailwind
colors: {
  custom: {
    50: '#5e4a6f',
    500: '#200838',
    950: '#000000',
  },
}
SCSS
$custom: #200838;
$custom-light: #5e4a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#200838",
  "rgb": {
    "r": 32,
    "g": 8,
    "b": 56
  },
  "hsl": {
    "h": 270,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20786,
    "c": 0.08748,
    "h": 302
  },
  "luminance": 0.00766
}

Semantic roles & 50–950 ramp

primary
#200838
secondary
#4E7725
accent
#F23694
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #200838

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

Preview Lab → · Contrast checker → · Palette generator →

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