#211152#211152

#211152 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.110 H 286.6°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#211152
RGBrgb(33, 17, 82)
HSLhsl(255, 66%, 19%)
HSVhsv(255, 79%, 32%)
CMYKcmyk(59.8%, 79.3%, 0%, 67.8%)
CIE-LABlab(11.51, 27.10, -36.74)
CIE-LCHlch(11.51, 45.66, 306.42°)
OKLaboklab(24.91% 0.0316 -0.1057)
OKLCHoklch(24.91% 0.11 286.6)
XYZxyz(2.3502, 1.3333, 8.1145)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211152 #425211
analogous
#112252 #211152 #421152
triadic
#211152 #522111 #115221
tetradic
#211152 #521122 #425211 #115242
square
#211152 #521122 #425211 #115242
split-complementary
#211152 #524211 #225211
monochromatic
#0A0519 #0D061F #211152 #351C85 #4A26B7

Accessibility & contrast

On white

16.58
#211152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#211152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211152
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211152#FFFFFF#000000##FFFFFF
##2111521.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001D51
Tritanopia (blue-blind)
#0C2330
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #211152;
/* rgb */ color: rgb(33, 17, 82);
/* oklch */ color: oklch(24.9% 0.110 286.6);
Tailwind
colors: {
  custom: {
    50: '#635183',
    500: '#211152',
    950: '#000000',
  },
}
SCSS
$custom: #211152;
$custom-light: #635183;
$custom-dark: #000000;
JSON
{
  "hex": "#211152",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 254.769,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24909,
    "c": 0.1103,
    "h": 286.6
  },
  "luminance": 0.01333
}

Semantic roles & 50–950 ramp

primary
#211152
secondary
#768B34
accent
#E93FBF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211152

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

Preview Lab → · Contrast checker → · Palette generator →

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