#210B42#210B42

#210B42 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.096 H 295.8°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#210B42
RGBrgb(33, 11, 66)
HSLhsl(264, 71%, 15%)
HSVhsv(264, 83%, 26%)
CMYKcmyk(50%, 83.3%, 0%, 74.1%)
CIE-LABlab(8.62, 25.41, -30.33)
CIE-LCHlch(8.62, 39.57, 309.95°)
OKLaboklab(22.36% 0.0419 -0.0868)
OKLCHoklch(22.36% 0.096 295.8)
XYZxyz(1.7300, 0.9560, 5.2466)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210B42 #2C420B
analogous
#0B1042 #210B42 #3C0B42
triadic
#210B42 #42210B #0B4221
tetradic
#210B42 #420B10 #2C420B #0B423C
square
#210B42 #420B10 #2C420B #0B423C
split-complementary
#210B42 #423C0B #10420B
monochromatic
#0D041A #0D041A #210B42 #3B1476 #551CAB

Accessibility & contrast

On white

17.63
#210B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#210B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210B42
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210B42#FFFFFF#000000##FFFFFF
##210B421.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001841
Tritanopia (blue-blind)
#181926
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #210b42;
/* rgb */ color: rgb(33, 11, 66);
/* oklch */ color: oklch(22.4% 0.096 295.8);
Tailwind
colors: {
  custom: {
    50: '#604c77',
    500: '#210b42',
    950: '#000000',
  },
}
SCSS
$custom: #210b42;
$custom-light: #604c77;
$custom-dark: #000000;
JSON
{
  "hex": "#210b42",
  "rgb": {
    "r": 33,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 264,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22362,
    "c": 0.09644,
    "h": 295.8
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#210B42
secondary
#5D7F2A
accent
#EE3AA6
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #210B42

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

Preview Lab → · Contrast checker → · Palette generator →

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