#200538#200538

#200538 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.092 H 303.1°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#200538
RGBrgb(32, 5, 56)
HSLhsl(272, 84%, 12%)
HSVhsv(272, 91%, 22%)
CMYKcmyk(42.9%, 91.1%, 0%, 78%)
CIE-LABlab(6.33, 25.23, -26.88)
CIE-LCHlch(6.33, 36.86, 313.19°)
OKLaboklab(20.32% 0.0504 -0.0773)
OKLCHoklch(20.32% 0.092 303.1)
XYZxyz(1.3636, 0.7011, 3.8041)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200538 #1D3805
analogous
#070538 #200538 #380537
triadic
#200538 #382005 #053820
tetradic
#200538 #380705 #1D3805 #053738
square
#200538 #380705 #1D3805 #053738
split-complementary
#200538 #373805 #053807
monochromatic
#10031C #10031C #200538 #400A70 #600FA8

Accessibility & contrast

On white

18.42
#200538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#200538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200538
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200538#FFFFFF#000000##FFFFFF
##2005381.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001437
Tritanopia (blue-blind)
#1B121E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #200538;
/* rgb */ color: rgb(32, 5, 56);
/* oklch */ color: oklch(20.3% 0.092 303.1);
Tailwind
colors: {
  custom: {
    50: '#5f486f',
    500: '#200538',
    950: '#000000',
  },
}
SCSS
$custom: #200538;
$custom-light: #5f486f;
$custom-dark: #000000;
JSON
{
  "hex": "#200538",
  "rgb": {
    "r": 32,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 271.765,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20318,
    "c": 0.09233,
    "h": 303.1
  },
  "luminance": 0.00701
}

Semantic roles & 50–950 ramp

primary
#200538
secondary
#4A7920
accent
#FA2E8E
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #200538

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

Preview Lab → · Contrast checker → · Palette generator →

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