#210939#210939

#210939 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.087 H 302.2°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#210939
RGBrgb(33, 9, 57)
HSLhsl(270, 73%, 13%)
HSVhsv(270, 84%, 22%)
CMYKcmyk(42.1%, 84.2%, 0%, 77.6%)
CIE-LABlab(7.35, 23.72, -25.94)
CIE-LCHlch(7.35, 35.15, 312.44°)
OKLaboklab(21.18% 0.0466 -0.074)
OKLCHoklch(21.18% 0.087 302.2)
XYZxyz(1.4632, 0.8141, 3.9502)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210939 #213909
analogous
#090939 #210939 #390939
triadic
#210939 #392109 #093921
tetradic
#210939 #390909 #213909 #093939
square
#210939 #390909 #213909 #093939
split-complementary
#210939 #393909 #093909
monochromatic
#0F041A #0F041A #210939 #40116E #5E1AA3

Accessibility & contrast

On white

18.06
#210939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210939
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210939#FFFFFF#000000##FFFFFF
##2109391.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#001638
Tritanopia (blue-blind)
#1C1520
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210939;
/* rgb */ color: rgb(33, 9, 57);
/* oklch */ color: oklch(21.2% 0.087 302.2);
Tailwind
colors: {
  custom: {
    50: '#5f4b70',
    500: '#210939',
    950: '#000000',
  },
}
SCSS
$custom: #210939;
$custom-light: #5f4b70;
$custom-dark: #000000;
JSON
{
  "hex": "#210939",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 270,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2118,
    "c": 0.08747,
    "h": 302.2
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#210939
secondary
#4F7727
accent
#EF3894
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210939

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

Preview Lab → · Contrast checker → · Palette generator →

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