#211133#211133

#211133 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.0% C 0.066 H 303.1°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#211133
RGBrgb(33, 17, 51)
HSLhsl(268, 50%, 13%)
HSVhsv(268, 67%, 20%)
CMYKcmyk(35.3%, 66.7%, 0%, 80%)
CIE-LABlab(8.68, 16.91, -19.44)
CIE-LCHlch(8.68, 25.76, 311.02°)
OKLaboklab(21.99% 0.0358 -0.0549)
OKLCHoklch(21.99% 0.066 303.1)
XYZxyz(1.4251, 0.9632, 3.2422)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211133 #233311
analogous
#111233 #211133 #321133
triadic
#211133 #332111 #113321
tetradic
#211133 #331112 #233311 #113332
square
#211133 #331112 #233311 #113332
split-complementary
#211133 #333211 #123311
monochromatic
#0F0817 #0F0817 #211133 #3F2061 #5C308F

Accessibility & contrast

On white

17.61
#211133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#211133 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211133
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211133#FFFFFF#000000##FFFFFF
##2111331.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051934
Deuteranopia (green-blind)
#091932
Tritanopia (blue-blind)
#1E181F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #211133;
/* rgb */ color: rgb(33, 17, 51);
/* oklch */ color: oklch(22.0% 0.066 303.1);
Tailwind
colors: {
  custom: {
    50: '#5e4f6b',
    500: '#211133',
    950: '#000000',
  },
}
SCSS
$custom: #211133;
$custom-light: #5e4f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#211133",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 51
  },
  "hsl": {
    "h": 268.235,
    "s": 50,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2199,
    "c": 0.06552,
    "h": 303.1
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#211133
secondary
#526C34
accent
#DA4E98
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #211133

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

Preview Lab → · Contrast checker → · Palette generator →

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