#210B40#210B40

#210B40 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.094 H 296.9°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#210B40
RGBrgb(33, 11, 64)
HSLhsl(265, 71%, 15%)
HSVhsv(265, 83%, 25%)
CMYKcmyk(48.4%, 82.8%, 0%, 74.9%)
CIE-LABlab(8.42, 24.79, -29.24)
CIE-LCHlch(8.42, 38.33, 310.29°)
OKLaboklab(22.16% 0.0425 -0.0836)
OKLCHoklch(22.16% 0.094 296.9)
XYZxyz(1.6720, 0.9328, 4.9414)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210B40 #2A400B
analogous
#0B0F40 #210B40 #3C0B40
triadic
#210B40 #40210B #0B4021
tetradic
#210B40 #400B0F #2A400B #0B403C
square
#210B40 #400B0F #2A400B #0B403C
split-complementary
#210B40 #403C0B #0F400B
monochromatic
#0D041A #0D041A #210B40 #3C1474 #571DA8

Accessibility & contrast

On white

17.70
#210B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210B40
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210B40#FFFFFF#000000##FFFFFF
##210B401.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#191924
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210b40;
/* rgb */ color: rgb(33, 11, 64);
/* oklch */ color: oklch(22.2% 0.094 296.9);
Tailwind
colors: {
  custom: {
    50: '#604c75',
    500: '#210b40',
    950: '#000000',
  },
}
SCSS
$custom: #210b40;
$custom-light: #604c75;
$custom-dark: #000000;
JSON
{
  "hex": "#210b40",
  "rgb": {
    "r": 33,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 264.906,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22159,
    "c": 0.0938,
    "h": 296.9
  },
  "luminance": 0.00933
}

Semantic roles & 50–950 ramp

primary
#210B40
secondary
#5A7D2A
accent
#ED3AA3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210B40

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

Preview Lab → · Contrast checker → · Palette generator →

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