#210B37#210B37

#210B37 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.082 H 302.9°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#210B37
RGBrgb(33, 11, 55)
HSLhsl(270, 67%, 13%)
HSVhsv(270, 80%, 22%)
CMYKcmyk(40%, 80%, 0%, 78.4%)
CIE-LABlab(7.57, 22.00, -24.13)
CIE-LCHlch(7.57, 32.66, 312.35°)
OKLaboklab(21.29% 0.0444 -0.0687)
OKLCHoklch(21.29% 0.082 302.9)
XYZxyz(1.4363, 0.8385, 3.6999)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210B37 #21370B
analogous
#0B0B37 #210B37 #370B37
triadic
#210B37 #37210B #0B3721
tetradic
#210B37 #370B0B #21370B #0B3737
square
#210B37 #370B0B #21370B #0B3737
split-complementary
#210B37 #37370B #0B370B
monochromatic
#0F051A #0F051A #210B37 #40156A #5E1F9D

Accessibility & contrast

On white

17.98
#210B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210B37
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210B37#FFFFFF#000000##FFFFFF
##210B371.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#001736
Tritanopia (blue-blind)
#1D151F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210b37;
/* rgb */ color: rgb(33, 11, 55);
/* oklch */ color: oklch(21.3% 0.082 302.9);
Tailwind
colors: {
  custom: {
    50: '#5f4c6e',
    500: '#210b37',
    950: '#000000',
  },
}
SCSS
$custom: #210b37;
$custom-light: #5f4c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#210b37",
  "rgb": {
    "r": 33,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 270,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21286,
    "c": 0.0818,
    "h": 302.9
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#210B37
secondary
#4F742A
accent
#EA3E94
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210B37

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

Preview Lab → · Contrast checker → · Palette generator →

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