#211151#211151

#211151 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.109 H 287.0°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#211151
RGBrgb(33, 17, 81)
HSLhsl(255, 65%, 19%)
HSVhsv(255, 79%, 32%)
CMYKcmyk(59.3%, 79%, 0%, 68.2%)
CIE-LABlab(11.40, 26.77, -36.23)
CIE-LCHlch(11.40, 45.04, 306.46°)
OKLaboklab(24.8% 0.0318 -0.1042)
OKLCHoklch(24.8% 0.109 287)
XYZxyz(2.3124, 1.3182, 7.9156)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211151 #415111
analogous
#112151 #211151 #411151
triadic
#211151 #512111 #115121
tetradic
#211151 #511121 #415111 #115141
square
#211151 #511121 #415111 #115141
split-complementary
#211151 #514111 #215111
monochromatic
#0A0519 #0C061E #211151 #361C84 #4A26B6

Accessibility & contrast

On white

16.62
#211151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#211151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211151
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211151#FFFFFF#000000##FFFFFF
##2111511.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002053
Deuteranopia (green-blind)
#001C50
Tritanopia (blue-blind)
#0D222F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #211151;
/* rgb */ color: rgb(33, 17, 81);
/* oklch */ color: oklch(24.8% 0.109 287.0);
Tailwind
colors: {
  custom: {
    50: '#635183',
    500: '#211151',
    950: '#000000',
  },
}
SCSS
$custom: #211151;
$custom-light: #635183;
$custom-dark: #000000;
JSON
{
  "hex": "#211151",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 81
  },
  "hsl": {
    "h": 255,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24803,
    "c": 0.10893,
    "h": 287
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#211151
secondary
#758A34
accent
#E840BE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #211151

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

Preview Lab → · Contrast checker → · Palette generator →

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