#211338#211338

#211338 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.8% C 0.069 H 298.1°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#211338
RGBrgb(33, 19, 56)
HSLhsl(263, 49%, 15%)
HSVhsv(263, 66%, 22%)
CMYKcmyk(41.1%, 66.1%, 0%, 78%)
CIE-LABlab(9.60, 17.10, -21.60)
CIE-LCHlch(9.60, 27.55, 308.38°)
OKLaboklab(22.79% 0.0328 -0.0612)
OKLCHoklch(22.79% 0.069 298.1)
XYZxyz(1.5737, 1.0746, 3.8651)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211338 #2A3813
analogous
#131838 #211338 #341338
triadic
#211338 #382113 #133821
tetradic
#211338 #381318 #2A3813 #133834
square
#211338 #381318 #2A3813 #133834
split-complementary
#211338 #383413 #183813
monochromatic
#0D0817 #0D0817 #211338 #3C2366 #573293

Accessibility & contrast

On white

17.28
#211338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211338
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211338#FFFFFF#000000##FFFFFF
##2113381.0017.281.2117.28
#FFFFFF17.281.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041B39
Deuteranopia (green-blind)
#071A37
Tritanopia (blue-blind)
#1C1B23
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #211338;
/* rgb */ color: rgb(33, 19, 56);
/* oklch */ color: oklch(22.8% 0.069 298.1);
Tailwind
colors: {
  custom: {
    50: '#5e516f',
    500: '#211338',
    950: '#000000',
  },
}
SCSS
$custom: #211338;
$custom-light: #5e516f;
$custom-dark: #000000;
JSON
{
  "hex": "#211338",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 262.703,
    "s": 49.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22787,
    "c": 0.06942,
    "h": 298.1
  },
  "luminance": 0.01075
}

Semantic roles & 50–950 ramp

primary
#211338
secondary
#5A7037
accent
#D94FA5
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #211338

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

Preview Lab → · Contrast checker → · Palette generator →

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