#211136#211136

#211136 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.2% C 0.070 H 300.8°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#211136
RGBrgb(33, 17, 54)
HSLhsl(266, 52%, 14%)
HSVhsv(266, 69%, 21%)
CMYKcmyk(38.9%, 68.5%, 0%, 78.8%)
CIE-LABlab(8.91, 17.85, -21.25)
CIE-LCHlch(8.91, 27.75, 310.03°)
OKLaboklab(22.23% 0.0359 -0.0602)
OKLCHoklch(22.23% 0.07 300.8)
XYZxyz(1.4933, 0.9906, 3.6018)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211136 #263611
analogous
#111436 #211136 #341136
triadic
#211136 #362111 #113621
tetradic
#211136 #361114 #263611 #113634
square
#211136 #361114 #263611 #113634
split-complementary
#211136 #363411 #143611
monochromatic
#0E0717 #0E0717 #211136 #3D2065 #5A2E93

Accessibility & contrast

On white

17.53
#211136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211136
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211136#FFFFFF#000000##FFFFFF
##2111361.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021937
Deuteranopia (green-blind)
#071935
Tritanopia (blue-blind)
#1D1921
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #211136;
/* rgb */ color: rgb(33, 17, 54);
/* oklch */ color: oklch(22.2% 0.070 300.8);
Tailwind
colors: {
  custom: {
    50: '#5e4f6d',
    500: '#211136',
    950: '#000000',
  },
}
SCSS
$custom: #211136;
$custom-light: #5e4f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#211136",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 265.946,
    "s": 52.113,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22234,
    "c": 0.07006,
    "h": 300.8
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#211136
secondary
#556F34
accent
#DC4C9E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040207
muted
#79787A

Preview Lab

Preview with #211136

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

Preview Lab → · Contrast checker → · Palette generator →

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