#210937#210937

#210937 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.085 H 303.6°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#210937
RGBrgb(33, 9, 55)
HSLhsl(271, 72%, 13%)
HSVhsv(271, 84%, 22%)
CMYKcmyk(40%, 83.6%, 0%, 78.4%)
CIE-LABlab(7.18, 23.08, -24.78)
CIE-LCHlch(7.18, 33.86, 312.97°)
OKLaboklab(20.99% 0.047 -0.0707)
OKLCHoklch(20.99% 0.085 303.6)
XYZxyz(1.4143, 0.7945, 3.6925)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210937 #1F3709
analogous
#0A0937 #210937 #370936
triadic
#210937 #372109 #093721
tetradic
#210937 #370A09 #1F3709 #093637
square
#210937 #370A09 #1F3709 #093637
split-complementary
#210937 #363709 #09370A
monochromatic
#10041A #10041A #210937 #41126C #601AA0

Accessibility & contrast

On white

18.12
#210937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210937
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210937#FFFFFF#000000##FFFFFF
##2109371.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001538
Deuteranopia (green-blind)
#001636
Tritanopia (blue-blind)
#1D141F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210937;
/* rgb */ color: rgb(33, 9, 55);
/* oklch */ color: oklch(21.0% 0.085 303.6);
Tailwind
colors: {
  custom: {
    50: '#5f4a6e',
    500: '#210937',
    950: '#000000',
  },
}
SCSS
$custom: #210937;
$custom-light: #5f4a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#210937",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 271.304,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20988,
    "c": 0.08489,
    "h": 303.6
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#210937
secondary
#4C7527
accent
#EF3990
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210937

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

Preview Lab → · Contrast checker → · Palette generator →

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