#211339#211339

#211339 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.9% C 0.071 H 297.5°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#211339
RGBrgb(33, 19, 57)
HSLhsl(262, 50%, 15%)
HSVhsv(262, 67%, 22%)
CMYKcmyk(42.1%, 66.7%, 0%, 77.6%)
CIE-LABlab(9.68, 17.43, -22.19)
CIE-LCHlch(9.68, 28.21, 308.14°)
OKLaboklab(22.87% 0.0328 -0.063)
OKLCHoklch(22.87% 0.071 297.5)
XYZxyz(1.5984, 1.0845, 3.9952)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211339 #2B3913
analogous
#131839 #211339 #341339
triadic
#211339 #392113 #133921
tetradic
#211339 #391318 #2B3913 #133934
square
#211339 #391318 #2B3913 #133934
split-complementary
#211339 #393413 #183913
monochromatic
#0D0817 #0D0817 #211339 #3C2267 #563295

Accessibility & contrast

On white

17.26
#211339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#211339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211339
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211339#FFFFFF#000000##FFFFFF
##2113391.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031B3A
Deuteranopia (green-blind)
#061A38
Tritanopia (blue-blind)
#1B1B23
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #211339;
/* rgb */ color: rgb(33, 19, 57);
/* oklch */ color: oklch(22.9% 0.071 297.5);
Tailwind
colors: {
  custom: {
    50: '#5e5170',
    500: '#211339',
    950: '#000000',
  },
}
SCSS
$custom: #211339;
$custom-light: #5e5170;
$custom-dark: #000000;
JSON
{
  "hex": "#211339",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 57
  },
  "hsl": {
    "h": 262.105,
    "s": 50,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2287,
    "c": 0.07096,
    "h": 297.5
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#211339
secondary
#5C7137
accent
#DA4EA6
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #211339

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

Preview Lab → · Contrast checker → · Palette generator →

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