#211331#211331

#211331 is a very dark, muted violet. Relative luminance 0.010; OKLCH L 22.2% C 0.058 H 303.6°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#211331
RGBrgb(33, 19, 49)
HSLhsl(268, 44%, 13%)
HSVhsv(268, 61%, 19%)
CMYKcmyk(32.7%, 61.2%, 0%, 80.8%)
CIE-LABlab(9.08, 14.87, -17.34)
CIE-LCHlch(9.08, 22.84, 310.63°)
OKLaboklab(22.24% 0.0323 -0.0487)
OKLCHoklch(22.24% 0.058 303.6)
XYZxyz(1.4143, 1.0108, 3.0257)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211331 #233113
analogous
#131431 #211331 #301331
triadic
#211331 #312113 #133121
tetradic
#211331 #311314 #233113 #133130
square
#211331 #311314 #233113 #133130
split-complementary
#211331 #313013 #143113
monochromatic
#0F0916 #0F0916 #211331 #3F245D #5C3589

Accessibility & contrast

On white

17.47
#211331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211331
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211331#FFFFFF#000000##FFFFFF
##2113311.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091932
Deuteranopia (green-blind)
#0D1A30
Tritanopia (blue-blind)
#1E181F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #211331;
/* rgb */ color: rgb(33, 19, 49);
/* oklch */ color: oklch(22.2% 0.058 303.6);
Tailwind
colors: {
  custom: {
    50: '#5d5169',
    500: '#211331',
    950: '#000000',
  },
}
SCSS
$custom: #211331;
$custom-light: #5d5169;
$custom-dark: #000000;
JSON
{
  "hex": "#211331",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 268,
    "s": 44.118,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22239,
    "c": 0.05846,
    "h": 303.6
  },
  "luminance": 0.01011
}

Semantic roles & 50–950 ramp

primary
#211331
secondary
#526937
accent
#D45498
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #211331

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

Preview Lab → · Contrast checker → · Palette generator →

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