#210F27#210F27

#210F27 is a very dark, muted purple. Relative luminance 0.008; OKLCH L 20.7% C 0.052 H 317.2°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#210F27
RGBrgb(33, 15, 39)
HSLhsl(285, 44%, 11%)
HSVhsv(285, 62%, 15%)
CMYKcmyk(15.4%, 61.5%, 0%, 84.7%)
CIE-LABlab(7.33, 14.70, -12.67)
CIE-LCHlch(7.33, 19.40, 319.23°)
OKLaboklab(20.71% 0.038 -0.0352)
OKLCHoklch(20.71% 0.052 317.2)
XYZxyz(1.1642, 0.8115, 2.0144)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F27 #15270F
analogous
#150F27 #210F27 #270F21
triadic
#210F27 #27210F #0F2721
tetradic
#210F27 #27150F #15270F #0F2127
square
#210F27 #27150F #15270F #0F2127
split-complementary
#210F27 #21270F #0F2715
monochromatic
#130916 #130916 #210F27 #462053 #6C317F

Accessibility & contrast

On white

18.07
#210F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#210F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F27
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F27#FFFFFF#000000##FFFFFF
##210F271.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1528
Deuteranopia (green-blind)
#101726
Tritanopia (blue-blind)
#211219
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210f27;
/* rgb */ color: rgb(33, 15, 39);
/* oklch */ color: oklch(20.7% 0.052 317.2);
Tailwind
colors: {
  custom: {
    50: '#5d4e61',
    500: '#210f27',
    950: '#000000',
  },
}
SCSS
$custom: #210f27;
$custom-light: #5d4e61;
$custom-dark: #000000;
JSON
{
  "hex": "#210f27",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 39
  },
  "hsl": {
    "h": 285,
    "s": 44.444,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20707,
    "c": 0.05185,
    "h": 317.2
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#210F27
secondary
#3E6032
accent
#D45474
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040105
muted
#797779

Preview Lab

Preview with #210F27

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

Preview Lab → · Contrast checker → · Palette generator →

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