#210B3B#210B3B

#210B3B is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.087 H 300.1°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#210B3B
RGBrgb(33, 11, 59)
HSLhsl(268, 69%, 14%)
HSVhsv(268, 81%, 23%)
CMYKcmyk(44.1%, 81.4%, 0%, 76.9%)
CIE-LABlab(7.93, 23.25, -26.45)
CIE-LCHlch(7.93, 35.21, 311.32°)
OKLaboklab(21.67% 0.0437 -0.0754)
OKLCHoklch(21.67% 0.087 300.1)
XYZxyz(1.5361, 0.8784, 4.2254)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210B3B #253B0B
analogous
#0B0D3B #210B3B #390B3B
triadic
#210B3B #3B210B #0B3B21
tetradic
#210B3B #3B0B0D #253B0B #0B3B39
square
#210B3B #3B0B0D #253B0B #0B3B39
split-complementary
#210B3B #3B390B #0D3B0B
monochromatic
#0E051A #0E051A #210B3B #3E156F #5B1EA2

Accessibility & contrast

On white

17.86
#210B3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#210B3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210B3B
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210B3B#FFFFFF#000000##FFFFFF
##210B3B1.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #210b3b;
/* rgb */ color: rgb(33, 11, 59);
/* oklch */ color: oklch(21.7% 0.087 300.1);
Tailwind
colors: {
  custom: {
    50: '#5f4c71',
    500: '#210b3b',
    950: '#000000',
  },
}
SCSS
$custom: #210b3b;
$custom-light: #5f4c71;
$custom-dark: #000000;
JSON
{
  "hex": "#210b3b",
  "rgb": {
    "r": 33,
    "g": 11,
    "b": 59
  },
  "hsl": {
    "h": 267.5,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21665,
    "c": 0.08716,
    "h": 300.1
  },
  "luminance": 0.00878
}

Semantic roles & 50–950 ramp

primary
#210B3B
secondary
#54782A
accent
#EB3C9B
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #210B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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