#210936#210936

#210936 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.084 H 304.4°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#210936
RGBrgb(33, 9, 54)
HSLhsl(272, 71%, 12%)
HSVhsv(272, 83%, 21%)
CMYKcmyk(38.9%, 83.3%, 0%, 78.8%)
CIE-LABlab(7.09, 22.76, -24.18)
CIE-LCHlch(7.09, 33.21, 313.26°)
OKLaboklab(20.89% 0.0472 -0.069)
OKLCHoklch(20.89% 0.084 304.4)
XYZxyz(1.3906, 0.7851, 3.5676)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210936 #1E3609
analogous
#0A0936 #210936 #360935
triadic
#210936 #362109 #093621
tetradic
#210936 #360A09 #1E3609 #093536
square
#210936 #360A09 #1E3609 #093536
split-complementary
#210936 #353609 #09360A
monochromatic
#10041A #10041A #210936 #41126A #611A9F

Accessibility & contrast

On white

18.15
#210936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#210936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210936
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210936#FFFFFF#000000##FFFFFF
##2109361.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #210936;
/* rgb */ color: rgb(33, 9, 54);
/* oklch */ color: oklch(20.9% 0.084 304.4);
Tailwind
colors: {
  custom: {
    50: '#5f4a6d',
    500: '#210936',
    950: '#000000',
  },
}
SCSS
$custom: #210936;
$custom-light: #5f4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#210936",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 272,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20893,
    "c": 0.08359,
    "h": 304.4
  },
  "luminance": 0.00785
}

Semantic roles & 50–950 ramp

primary
#210936
secondary
#4B7427
accent
#EE3A8E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #210936

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

Preview Lab → · Contrast checker → · Palette generator →

#210936 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva