#211332#211332

#211332 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.060 H 302.7°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#211332
RGBrgb(33, 19, 50)
HSLhsl(267, 45%, 14%)
HSVhsv(267, 62%, 20%)
CMYKcmyk(34%, 62%, 0%, 80.4%)
CIE-LABlab(9.15, 15.18, -17.95)
CIE-LCHlch(9.15, 23.51, 310.22°)
OKLaboklab(22.31% 0.0324 -0.0505)
OKLCHoklch(22.31% 0.06 302.7)
XYZxyz(1.4357, 1.0194, 3.1381)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211332 #243213
analogous
#131432 #211332 #301332
triadic
#211332 #322113 #133221
tetradic
#211332 #321314 #243213 #133230
square
#211332 #321314 #243213 #133230
split-complementary
#211332 #323013 #143213
monochromatic
#0F0816 #0F0816 #211332 #3E245E #5C358B

Accessibility & contrast

On white

17.44
#211332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#211332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211332
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211332#FFFFFF#000000##FFFFFF
##2113321.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091A33
Deuteranopia (green-blind)
#0D1A31
Tritanopia (blue-blind)
#1E1920
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #211332;
/* rgb */ color: rgb(33, 19, 50);
/* oklch */ color: oklch(22.3% 0.060 302.7);
Tailwind
colors: {
  custom: {
    50: '#5d516a',
    500: '#211332',
    950: '#000000',
  },
}
SCSS
$custom: #211332;
$custom-light: #5d516a;
$custom-dark: #000000;
JSON
{
  "hex": "#211332",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 50
  },
  "hsl": {
    "h": 267.097,
    "s": 44.928,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22314,
    "c": 0.06004,
    "h": 302.7
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#211332
secondary
#536A37
accent
#D5539A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #211332

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

Preview Lab → · Contrast checker → · Palette generator →

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