#211337#211337

#211337 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.7% C 0.068 H 298.8°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#211337
RGBrgb(33, 19, 55)
HSLhsl(263, 49%, 15%)
HSVhsv(263, 65%, 22%)
CMYKcmyk(40%, 65.5%, 0%, 78.4%)
CIE-LABlab(9.52, 16.78, -21.00)
CIE-LCHlch(9.52, 26.88, 308.63°)
OKLaboklab(22.71% 0.0327 -0.0594)
OKLCHoklch(22.71% 0.068 298.8)
XYZxyz(1.5495, 1.0649, 3.7376)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211337 #293713
analogous
#131737 #211337 #331337
triadic
#211337 #372113 #133721
tetradic
#211337 #371317 #293713 #133733
square
#211337 #371317 #293713 #133733
split-complementary
#211337 #373313 #173713
monochromatic
#0E0817 #0E0817 #211337 #3C2364 #583292

Accessibility & contrast

On white

17.31
#211337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211337
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211337#FFFFFF#000000##FFFFFF
##2113371.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041B38
Deuteranopia (green-blind)
#081A36
Tritanopia (blue-blind)
#1C1A22
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #211337;
/* rgb */ color: rgb(33, 19, 55);
/* oklch */ color: oklch(22.7% 0.068 298.8);
Tailwind
colors: {
  custom: {
    50: '#5e516e',
    500: '#211337',
    950: '#000000',
  },
}
SCSS
$custom: #211337;
$custom-light: #5e516e;
$custom-dark: #000000;
JSON
{
  "hex": "#211337",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 263.333,
    "s": 48.649,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22706,
    "c": 0.06786,
    "h": 298.8
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#211337
secondary
#596F37
accent
#D850A3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #211337

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

Preview Lab → · Contrast checker → · Palette generator →

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