#211166#211166

#211166 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.137 H 280.8°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#211166
RGBrgb(33, 17, 102)
HSLhsl(251, 71%, 23%)
HSVhsv(251, 83%, 40%)
CMYKcmyk(67.6%, 83.3%, 0%, 60%)
CIE-LABlab(13.73, 33.73, -46.52)
CIE-LCHlch(13.73, 57.46, 305.95°)
OKLaboklab(27.14% 0.0257 -0.1343)
OKLCHoklch(27.14% 0.137 280.8)
XYZxyz(3.2252, 1.6833, 12.7227)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211166 #566611
analogous
#112B66 #211166 #4B1166
triadic
#211166 #662111 #116621
tetradic
#211166 #66112B #566611 #11664B
square
#211166 #66112B #566611 #11664B
split-complementary
#211166 #664B11 #2B6611
monochromatic
#08041A #100832 #211166 #321A9A #4322CF

Accessibility & contrast

On white

15.71
#211166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#211166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211166
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211166#FFFFFF#000000##FFFFFF
##2111661.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#002065
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #211166;
/* rgb */ color: rgb(33, 17, 102);
/* oklch */ color: oklch(27.1% 0.137 280.8);
Tailwind
colors: {
  custom: {
    50: '#675293',
    500: '#211166',
    950: '#000000',
  },
}
SCSS
$custom: #211166;
$custom-light: #675293;
$custom-dark: #000000;
JSON
{
  "hex": "#211166",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 251.294,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27137,
    "c": 0.13669,
    "h": 280.8
  },
  "luminance": 0.01684
}

Semantic roles & 50–950 ramp

primary
#211166
secondary
#8A9E35
accent
#EE3ACC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #211166

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

Preview Lab → · Contrast checker → · Palette generator →

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