#211336#211336

#211336 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.6% C 0.066 H 299.5°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#211336
RGBrgb(33, 19, 54)
HSLhsl(264, 48%, 14%)
HSVhsv(264, 65%, 21%)
CMYKcmyk(38.9%, 64.8%, 0%, 78.8%)
CIE-LABlab(9.44, 16.46, -20.40)
CIE-LCHlch(9.44, 26.21, 308.90°)
OKLaboklab(22.63% 0.0327 -0.0577)
OKLCHoklch(22.63% 0.066 299.5)
XYZxyz(1.5258, 1.0554, 3.6126)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211336 #283613
analogous
#131736 #211336 #331336
triadic
#211336 #362113 #133621
tetradic
#211336 #361317 #283613 #133633
square
#211336 #361317 #283613 #133633
split-complementary
#211336 #363313 #173613
monochromatic
#0E0817 #0E0817 #211336 #3D2363 #583391

Accessibility & contrast

On white

17.34
#211336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#211336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211336
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211336#FFFFFF#000000##FFFFFF
##2113361.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A37
Deuteranopia (green-blind)
#091A35
Tritanopia (blue-blind)
#1D1A22
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #211336;
/* rgb */ color: rgb(33, 19, 54);
/* oklch */ color: oklch(22.6% 0.066 299.5);
Tailwind
colors: {
  custom: {
    50: '#5e516d',
    500: '#211336',
    950: '#000000',
  },
}
SCSS
$custom: #211336;
$custom-light: #5e516d;
$custom-dark: #000000;
JSON
{
  "hex": "#211336",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 264,
    "s": 47.945,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22625,
    "c": 0.06631,
    "h": 299.5
  },
  "luminance": 0.01055
}

Semantic roles & 50–950 ramp

primary
#211336
secondary
#586E37
accent
#D850A1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040207
muted
#79787A

Preview Lab

Preview with #211336

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

Preview Lab → · Contrast checker → · Palette generator →

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