#210023#210023

#210023 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.6% C 0.082 H 326.0°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#210023
RGBrgb(33, 0, 35)
HSLhsl(297, 100%, 7%)
HSVhsv(297, 100%, 14%)
CMYKcmyk(5.7%, 100%, 0%, 86.3%)
CIE-LABlab(4.02, 20.68, -14.74)
CIE-LCHlch(4.02, 25.40, 324.52°)
OKLaboklab(17.55% 0.0677 -0.0457)
OKLCHoklch(17.55% 0.082 326)
XYZxyz(0.9306, 0.4448, 1.6266)
Luminance0.0044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210023 #022300
analogous
#100023 #210023 #230014
triadic
#210023 #232100 #002321
tetradic
#210023 #231000 #022300 #001423
square
#210023 #231000 #022300 #001423
split-complementary
#210023 #142300 #002310
monochromatic
#1D001F #1D001F #210023 #5B0060 #94009D

Accessibility & contrast

On white

19.28
#210023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#210023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210023
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210023#FFFFFF#000000##FFFFFF
##2100231.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B24
Deuteranopia (green-blind)
#061022
Tritanopia (blue-blind)
#220410
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #210023;
/* rgb */ color: rgb(33, 0, 35);
/* oklch */ color: oklch(17.6% 0.082 326.0);
Tailwind
colors: {
  custom: {
    50: '#5d465e',
    500: '#210023',
    950: '#000000',
  },
}
SCSS
$custom: #210023;
$custom-light: #5d465e;
$custom-dark: #000000;
JSON
{
  "hex": "#210023",
  "rgb": {
    "r": 33,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 296.571,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.17554,
    "c": 0.08167,
    "h": 326
  },
  "luminance": 0.00445
}

Semantic roles & 50–950 ramp

primary
#210023
secondary
#186C13
accent
#FF2935
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040004
muted
#797779

Preview Lab

Preview with #210023

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

Preview Lab → · Contrast checker → · Palette generator →

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