#20002A#20002A

#20002A is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.0% C 0.088 H 317.1°. Best body text is #FFFFFF at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#20002A
RGBrgb(32, 0, 42)
HSLhsl(286, 100%, 8%)
HSVhsv(286, 100%, 16%)
CMYKcmyk(23.8%, 100%, 0%, 83.5%)
CIE-LABlab(4.28, 22.62, -19.73)
CIE-LCHlch(4.28, 30.02, 318.90°)
OKLaboklab(18% 0.0643 -0.0596)
OKLCHoklch(18% 0.088 317.1)
XYZxyz(1.0135, 0.4743, 2.2282)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20002A #0A2A00
analogous
#0B002A #20002A #2A001F
triadic
#20002A #2A2000 #002A20
tetradic
#20002A #2A0B00 #0A2A00 #001F2A
square
#20002A #2A0B00 #0A2A00 #001F2A
split-complementary
#20002A #1F2A00 #002A0B
monochromatic
#17001F #17001F #20002A #4F0067 #7D00A4

Accessibility & contrast

On white

19.18
#20002A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#20002A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20002A
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20002A#FFFFFF#000000##FFFFFF
##20002A1.0019.181.0919.18
#FFFFFF19.181.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#001029
Tritanopia (blue-blind)
#1F0814
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #20002a;
/* rgb */ color: rgb(32, 0, 42);
/* oklch */ color: oklch(18.0% 0.088 317.1);
Tailwind
colors: {
  custom: {
    50: '#5c4664',
    500: '#20002a',
    950: '#000000',
  },
}
SCSS
$custom: #20002a;
$custom-light: #5c4664;
$custom-dark: #000000;
JSON
{
  "hex": "#20002a",
  "rgb": {
    "r": 32,
    "g": 0,
    "b": 42
  },
  "hsl": {
    "h": 285.714,
    "s": 100,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18,
    "c": 0.08768,
    "h": 317.1
  },
  "luminance": 0.00474
}

Semantic roles & 50–950 ramp

primary
#20002A
secondary
#2A7214
accent
#FF295C
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#040005
muted
#797779

Preview Lab

Preview with #20002A

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

Preview Lab → · Contrast checker → · Palette generator →

#20002A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva