#210837#210837

#210837 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.086 H 304.0°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#210837
RGBrgb(33, 8, 55)
HSLhsl(272, 75%, 12%)
HSVhsv(272, 85%, 22%)
CMYKcmyk(40%, 85.5%, 0%, 78.4%)
CIE-LABlab(6.98, 23.61, -25.09)
CIE-LCHlch(6.98, 34.46, 313.26°)
OKLaboklab(20.84% 0.0483 -0.0717)
OKLCHoklch(20.84% 0.086 304)
XYZxyz(1.4035, 0.7728, 3.6889)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210837 #1E3708
analogous
#0A0837 #210837 #370836
triadic
#210837 #372108 #083721
tetradic
#210837 #370A08 #1E3708 #083637
square
#210837 #370A08 #1E3708 #083637
split-complementary
#210837 #363708 #08370A
monochromatic
#10041B #10041B #210837 #41106C #6118A2

Accessibility & contrast

On white

18.19
#210837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#210837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210837
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210837#FFFFFF#000000##FFFFFF
##2108371.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001538
Deuteranopia (green-blind)
#001536
Tritanopia (blue-blind)
#1D131F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #210837;
/* rgb */ color: rgb(33, 8, 55);
/* oklch */ color: oklch(20.8% 0.086 304.0);
Tailwind
colors: {
  custom: {
    50: '#5f4a6e',
    500: '#210837',
    950: '#000000',
  },
}
SCSS
$custom: #210837;
$custom-light: #5f4a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#210837",
  "rgb": {
    "r": 33,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 271.915,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20837,
    "c": 0.08645,
    "h": 304
  },
  "luminance": 0.00773
}

Semantic roles & 50–950 ramp

primary
#210837
secondary
#4B7625
accent
#F1378E
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210837

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

Preview Lab → · Contrast checker → · Palette generator →

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