#210A1F#210A1F

#210A1F is a very dark, muted purple. Relative luminance 0.006; OKLCH L 19.2% C 0.052 H 330.8°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#210A1F
RGBrgb(33, 10, 31)
HSLhsl(305, 53%, 8%)
HSVhsv(305, 70%, 13%)
CMYKcmyk(0%, 69.7%, 6.1%, 87.1%)
CIE-LABlab(5.78, 15.08, -8.95)
CIE-LCHlch(5.78, 17.53, 329.32°)
OKLaboklab(19.23% 0.0458 -0.0256)
OKLCHoklch(19.23% 0.052 330.8)
XYZxyz(0.9831, 0.6394, 1.3677)
Luminance0.0064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210A1F #0A210C
analogous
#170A21 #210A1F #210A13
triadic
#210A1F #1F210A #0A1F21
tetradic
#210A1F #21170A #0A210C #0A1321
square
#210A1F #21170A #0A210C #0A1321
split-complementary
#210A1F #13210A #0A2117
monochromatic
#170716 #170716 #210A1F #50184B #7F2677

Accessibility & contrast

On white

18.62
#210A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#210A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210A1F
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210A1F#FFFFFF#000000##FFFFFF
##210A1F1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091120
Deuteranopia (green-blind)
#10141E
Tritanopia (blue-blind)
#230C13
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #210a1f;
/* rgb */ color: rgb(33, 10, 31);
/* oklch */ color: oklch(19.2% 0.052 330.8);
Tailwind
colors: {
  custom: {
    50: '#5c4b5a',
    500: '#210a1f',
    950: '#000000',
  },
}
SCSS
$custom: #210a1f;
$custom-light: #5c4b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#210a1f",
  "rgb": {
    "r": 33,
    "g": 10,
    "b": 31
  },
  "hsl": {
    "h": 305.217,
    "s": 53.488,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19228,
    "c": 0.05244,
    "h": 330.8
  },
  "luminance": 0.00639
}

Semantic roles & 50–950 ramp

primary
#210A1F
secondary
#2A5D2F
accent
#DD584B
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #210A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#210A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva