#210B31#210B31

#210B31 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.074 H 307.8°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#210B31
RGBrgb(33, 11, 49)
HSLhsl(275, 63%, 12%)
HSVhsv(275, 78%, 19%)
CMYKcmyk(32.7%, 77.6%, 0%, 80.8%)
CIE-LABlab(7.09, 20.10, -20.52)
CIE-LCHlch(7.09, 28.73, 314.41°)
OKLaboklab(20.75% 0.0452 -0.0582)
OKLCHoklch(20.75% 0.074 307.8)
XYZxyz(1.3011, 0.7844, 2.9880)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210B31 #1B310B
analogous
#0E0B31 #210B31 #310B2E
triadic
#210B31 #31210B #0B3121
tetradic
#210B31 #310E0B #1B310B #0B2E31
square
#210B31 #310E0B #1B310B #0B2E31
split-complementary
#210B31 #2E310B #0B310E
monochromatic
#110619 #110619 #210B31 #431663 #642195

Accessibility & contrast

On white

18.15
#210B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210B31
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210B31#FFFFFF#000000##FFFFFF
##210B311.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#051630
Tritanopia (blue-blind)
#1F131C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210b31;
/* rgb */ color: rgb(33, 11, 49);
/* oklch */ color: oklch(20.8% 0.074 307.8);
Tailwind
colors: {
  custom: {
    50: '#5e4b69',
    500: '#210b31',
    950: '#000000',
  },
}
SCSS
$custom: #210b31;
$custom-light: #5e4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#210b31",
  "rgb": {
    "r": 33,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 274.737,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2075,
    "c": 0.07371,
    "h": 307.8
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#210B31
secondary
#476E2A
accent
#E64187
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210B31

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

Preview Lab → · Contrast checker → · Palette generator →

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