#210C27#210C27

#210C27 is a very dark, muted purple. Relative luminance 0.007; OKLCH L 20.1% C 0.058 H 318.3°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#210C27
RGBrgb(33, 12, 39)
HSLhsl(287, 53%, 10%)
HSVhsv(287, 69%, 15%)
CMYKcmyk(15.4%, 69.2%, 0%, 84.7%)
CIE-LABlab(6.62, 16.44, -13.78)
CIE-LCHlch(6.62, 21.46, 320.03°)
OKLaboklab(20.13% 0.0435 -0.0388)
OKLCHoklch(20.13% 0.058 318.3)
XYZxyz(1.1248, 0.7328, 2.0013)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C27 #12270C
analogous
#140C27 #210C27 #270C1F
triadic
#210C27 #27210C #0C2721
tetradic
#210C27 #27140C #12270C #0C1F27
square
#210C27 #27140C #12270C #0C1F27
split-complementary
#210C27 #1F270C #0C2714
monochromatic
#140717 #140717 #210C27 #491A56 #702985

Accessibility & contrast

On white

18.32
#210C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#210C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C27
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C27#FFFFFF#000000##FFFFFF
##210C271.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071328
Deuteranopia (green-blind)
#0D1526
Tritanopia (blue-blind)
#211017
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #210c27;
/* rgb */ color: rgb(33, 12, 39);
/* oklch */ color: oklch(20.1% 0.058 318.3);
Tailwind
colors: {
  custom: {
    50: '#5d4c61',
    500: '#210c27',
    950: '#000000',
  },
}
SCSS
$custom: #210c27;
$custom-light: #5d4c61;
$custom-dark: #000000;
JSON
{
  "hex": "#210c27",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 286.667,
    "s": 52.941,
    "l": 10
  },
  "oklch": {
    "l": 0.20131,
    "c": 0.05825,
    "h": 318.3
  },
  "luminance": 0.00733
}

Semantic roles & 50–950 ramp

primary
#210C27
secondary
#39622D
accent
#DC4B6C
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040105
muted
#797779

Preview Lab

Preview with #210C27

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

Preview Lab → · Contrast checker → · Palette generator →

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