#210B39#210B39

#210B39 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.5% C 0.084 H 301.4°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#210B39
RGBrgb(33, 11, 57)
HSLhsl(269, 68%, 13%)
HSVhsv(269, 81%, 22%)
CMYKcmyk(42.1%, 80.7%, 0%, 77.6%)
CIE-LABlab(7.75, 22.63, -25.30)
CIE-LCHlch(7.75, 33.94, 311.81°)
OKLaboklab(21.47% 0.0441 -0.0721)
OKLCHoklch(21.47% 0.084 301.4)
XYZxyz(1.4852, 0.8581, 3.9575)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210B39 #23390B
analogous
#0B0C39 #210B39 #380B39
triadic
#210B39 #39210B #0B3921
tetradic
#210B39 #390B0C #23390B #0B3938
square
#210B39 #390B0C #23390B #0B3938
split-complementary
#210B39 #39380B #0C390B
monochromatic
#0F051A #0F051A #210B39 #3F156C #5C1FA0

Accessibility & contrast

On white

17.92
#210B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#210B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210B39
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210B39#FFFFFF#000000##FFFFFF
##210B391.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#001738
Tritanopia (blue-blind)
#1C1620
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210b39;
/* rgb */ color: rgb(33, 11, 57);
/* oklch */ color: oklch(21.5% 0.084 301.4);
Tailwind
colors: {
  custom: {
    50: '#5f4c70',
    500: '#210b39',
    950: '#000000',
  },
}
SCSS
$custom: #210b39;
$custom-light: #5f4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#210b39",
  "rgb": {
    "r": 33,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 268.696,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21474,
    "c": 0.08449,
    "h": 301.4
  },
  "luminance": 0.00858
}

Semantic roles & 50–950 ramp

primary
#210B39
secondary
#52762A
accent
#EB3D98
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210B39

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

Preview Lab → · Contrast checker → · Palette generator →

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