#210C23#210C23

#210C23 is a very dark, muted purple. Relative luminance 0.007; OKLCH L 19.9% C 0.053 H 324.0°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#210C23
RGBrgb(33, 12, 35)
HSLhsl(295, 49%, 9%)
HSVhsv(295, 66%, 14%)
CMYKcmyk(5.7%, 65.7%, 0%, 86.3%)
CIE-LABlab(6.39, 15.26, -11.09)
CIE-LCHlch(6.39, 18.86, 324.00°)
OKLaboklab(19.86% 0.0429 -0.0311)
OKLCHoklch(19.86% 0.053 324)
XYZxyz(1.0620, 0.7077, 1.6704)
Luminance0.0071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C23 #0E230C
analogous
#160C23 #210C23 #230C1A
triadic
#210C23 #23210C #0C2321
tetradic
#210C23 #23160C #0E230C #0C1A23
square
#210C23 #23160C #0E230C #0C1A23
split-complementary
#210C23 #1A230C #0C2316
monochromatic
#150817 #150817 #210C23 #4C1C51 #772B7E

Accessibility & contrast

On white

18.40
#210C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#210C23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C23
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C23#FFFFFF#000000##FFFFFF
##210C231.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091324
Deuteranopia (green-blind)
#0F1522
Tritanopia (blue-blind)
#220F15
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #210c23;
/* rgb */ color: rgb(33, 12, 35);
/* oklch */ color: oklch(19.9% 0.053 324.0);
Tailwind
colors: {
  custom: {
    50: '#5d4c5e',
    500: '#210c23',
    950: '#000000',
  },
}
SCSS
$custom: #210c23;
$custom-light: #5d4c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#210c23",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 35
  },
  "hsl": {
    "h": 294.783,
    "s": 48.936,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19855,
    "c": 0.053,
    "h": 324
  },
  "luminance": 0.00708
}

Semantic roles & 50–950 ramp

primary
#210C23
secondary
#325D2E
accent
#D84F5B
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040104
muted
#797779

Preview Lab

Preview with #210C23

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

Preview Lab → · Contrast checker → · Palette generator →

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