#200338#200338

#200338 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.096 H 303.8°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#200338
RGBrgb(32, 3, 56)
HSLhsl(273, 90%, 12%)
HSVhsv(273, 95%, 22%)
CMYKcmyk(42.9%, 94.6%, 0%, 78%)
CIE-LABlab(5.94, 26.27, -27.51)
CIE-LCHlch(5.94, 38.04, 313.68°)
OKLaboklab(19.99% 0.0533 -0.0796)
OKLCHoklch(19.99% 0.096 303.8)
XYZxyz(1.3419, 0.6577, 3.7969)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200338 #1B3803
analogous
#050338 #200338 #380336
triadic
#200338 #382003 #033820
tetradic
#200338 #380503 #1B3803 #033638
square
#200338 #380503 #1B3803 #033638
split-complementary
#200338 #363803 #033805
monochromatic
#11021D #11021D #200338 #410672 #6209AC

Accessibility & contrast

On white

18.56
#200338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#200338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200338
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200338#FFFFFF#000000##FFFFFF
##2003381.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#001337
Tritanopia (blue-blind)
#1B111E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #200338;
/* rgb */ color: rgb(32, 3, 56);
/* oklch */ color: oklch(20.0% 0.096 303.8);
Tailwind
colors: {
  custom: {
    50: '#5f476f',
    500: '#200338',
    950: '#000000',
  },
}
SCSS
$custom: #200338;
$custom-light: #5f476f;
$custom-dark: #000000;
JSON
{
  "hex": "#200338",
  "rgb": {
    "r": 32,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 272.83,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19994,
    "c": 0.09578,
    "h": 303.8
  },
  "luminance": 0.00658
}

Semantic roles & 50–950 ramp

primary
#200338
secondary
#477B1C
accent
#FF298A
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #200338

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

Preview Lab → · Contrast checker → · Palette generator →

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