#210B36#210B36

#210B36 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.080 H 303.7°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#210B36
RGBrgb(33, 11, 54)
HSLhsl(271, 66%, 13%)
HSVhsv(271, 80%, 21%)
CMYKcmyk(38.9%, 79.6%, 0%, 78.8%)
CIE-LABlab(7.49, 21.69, -23.54)
CIE-LCHlch(7.49, 32.01, 312.65°)
OKLaboklab(21.19% 0.0446 -0.067)
OKLCHoklch(21.19% 0.08 303.7)
XYZxyz(1.4126, 0.8290, 3.5749)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210B36 #20360B
analogous
#0C0B36 #210B36 #360B35
triadic
#210B36 #36210B #0B3621
tetradic
#210B36 #360C0B #20360B #0B3536
square
#210B36 #360C0B #20360B #0B3536
split-complementary
#210B36 #35360B #0B360C
monochromatic
#100519 #100519 #210B36 #401569 #5F209C

Accessibility & contrast

On white

18.01
#210B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210B36
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210B36#FFFFFF#000000##FFFFFF
##210B361.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#001635
Tritanopia (blue-blind)
#1D151F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210b36;
/* rgb */ color: rgb(33, 11, 54);
/* oklch */ color: oklch(21.2% 0.080 303.7);
Tailwind
colors: {
  custom: {
    50: '#5f4b6d',
    500: '#210b36',
    950: '#000000',
  },
}
SCSS
$custom: #210b36;
$custom-light: #5f4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#210b36",
  "rgb": {
    "r": 33,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 270.698,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21194,
    "c": 0.08045,
    "h": 303.7
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#210B36
secondary
#4E732A
accent
#E93F92
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #210B36

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

Preview Lab → · Contrast checker → · Palette generator →

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