#211137#211137

#211137 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.072 H 300.1°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#211137
RGBrgb(33, 17, 55)
HSLhsl(265, 53%, 14%)
HSVhsv(265, 69%, 22%)
CMYKcmyk(40%, 69.1%, 0%, 78.4%)
CIE-LABlab(8.99, 18.17, -21.85)
CIE-LCHlch(8.99, 28.41, 309.74°)
OKLaboklab(22.32% 0.0358 -0.0619)
OKLCHoklch(22.32% 0.072 300.1)
XYZxyz(1.5171, 1.0001, 3.7268)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211137 #273711
analogous
#111437 #211137 #341137
triadic
#211137 #372111 #113721
tetradic
#211137 #371114 #273711 #113734
square
#211137 #371114 #273711 #113734
split-complementary
#211137 #373411 #143711
monochromatic
#0E0717 #0E0717 #211137 #3D1F66 #592E95

Accessibility & contrast

On white

17.50
#211137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211137
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211137#FFFFFF#000000##FFFFFF
##2111371.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011938
Deuteranopia (green-blind)
#061936
Tritanopia (blue-blind)
#1C1921
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #211137;
/* rgb */ color: rgb(33, 17, 55);
/* oklch */ color: oklch(22.3% 0.072 300.1);
Tailwind
colors: {
  custom: {
    50: '#5e4f6e',
    500: '#211137',
    950: '#000000',
  },
}
SCSS
$custom: #211137;
$custom-light: #5e4f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#211137",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 55
  },
  "hsl": {
    "h": 265.263,
    "s": 52.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22317,
    "c": 0.07156,
    "h": 300.1
  },
  "luminance": 0.01
}

Semantic roles & 50–950 ramp

primary
#211137
secondary
#577034
accent
#DC4C9F
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #211137

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

Preview Lab → · Contrast checker → · Palette generator →

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