#210B3E#210B3E

#210B3E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.091 H 298.1°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#210B3E
RGBrgb(33, 11, 62)
HSLhsl(266, 70%, 14%)
HSVhsv(266, 82%, 24%)
CMYKcmyk(46.8%, 82.3%, 0%, 75.7%)
CIE-LABlab(8.22, 24.16, -28.13)
CIE-LCHlch(8.22, 37.08, 310.66°)
OKLaboklab(21.96% 0.043 -0.0804)
OKLCHoklch(21.96% 0.091 298.1)
XYZxyz(1.6161, 0.9105, 4.6471)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210B3E #283E0B
analogous
#0B0F3E #210B3E #3B0B3E
triadic
#210B3E #3E210B #0B3E21
tetradic
#210B3E #3E0B0F #283E0B #0B3E3B
square
#210B3E #3E0B0F #283E0B #0B3E3B
split-complementary
#210B3E #3E3B0B #0F3E0B
monochromatic
#0E051A #0E051A #210B3E #3D1472 #581DA6

Accessibility & contrast

On white

17.77
#210B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210B3E
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210B3E#FFFFFF#000000##FFFFFF
##210B3E1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#1A1823
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210b3e;
/* rgb */ color: rgb(33, 11, 62);
/* oklch */ color: oklch(22.0% 0.091 298.1);
Tailwind
colors: {
  custom: {
    50: '#604c74',
    500: '#210b3e',
    950: '#000000',
  },
}
SCSS
$custom: #210b3e;
$custom-light: #604c74;
$custom-dark: #000000;
JSON
{
  "hex": "#210b3e",
  "rgb": {
    "r": 33,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 265.882,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21958,
    "c": 0.09116,
    "h": 298.1
  },
  "luminance": 0.0091
}

Semantic roles & 50–950 ramp

primary
#210B3E
secondary
#587B2A
accent
#ED3BA0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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