#210A31#210A31

#210A31 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.6% C 0.075 H 308.2°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#210A31
RGBrgb(33, 10, 49)
HSLhsl(275, 66%, 12%)
HSVhsv(275, 80%, 19%)
CMYKcmyk(32.7%, 79.6%, 0%, 80.8%)
CIE-LABlab(6.88, 20.63, -20.84)
CIE-LCHlch(6.88, 29.32, 314.70°)
OKLaboklab(20.59% 0.0466 -0.0592)
OKLCHoklch(20.59% 0.075 308.2)
XYZxyz(1.2900, 0.7622, 2.9843)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210A31 #1A310A
analogous
#0E0A31 #210A31 #310A2E
triadic
#210A31 #31210A #0A3121
tetradic
#210A31 #310E0A #1A310A #0A2E31
square
#210A31 #310E0A #1A310A #0A2E31
split-complementary
#210A31 #2E310A #0A310E
monochromatic
#110519 #110519 #210A31 #431464 #651F97

Accessibility & contrast

On white

18.22
#210A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210A31
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210A31#FFFFFF#000000##FFFFFF
##210A311.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#041530
Tritanopia (blue-blind)
#1F121C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #210a31;
/* rgb */ color: rgb(33, 10, 49);
/* oklch */ color: oklch(20.6% 0.075 308.2);
Tailwind
colors: {
  custom: {
    50: '#5e4b69',
    500: '#210a31',
    950: '#000000',
  },
}
SCSS
$custom: #210a31;
$custom-light: #5e4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#210a31",
  "rgb": {
    "r": 33,
    "g": 10,
    "b": 49
  },
  "hsl": {
    "h": 275.385,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20592,
    "c": 0.07541,
    "h": 308.2
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#210A31
secondary
#456E29
accent
#E93F85
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210A31

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

Preview Lab → · Contrast checker → · Palette generator →

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