#211164#211164

#211164 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.9% C 0.134 H 281.3°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#211164
RGBrgb(33, 17, 100)
HSLhsl(252, 71%, 23%)
HSVhsv(252, 83%, 39%)
CMYKcmyk(67%, 83%, 0%, 60.8%)
CIE-LABlab(13.50, 33.08, -45.58)
CIE-LCHlch(13.50, 56.32, 305.97°)
OKLaboklab(26.91% 0.0263 -0.1315)
OKLCHoklch(26.91% 0.134 281.3)
XYZxyz(3.1272, 1.6441, 12.2067)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211164 #546411
analogous
#112B64 #211164 #4A1164
triadic
#211164 #642111 #116421
tetradic
#211164 #64112B #546411 #11644A
square
#211164 #64112B #546411 #11644A
split-complementary
#211164 #644A11 #2B6411
monochromatic
#09041A #100830 #211164 #321A98 #4423CD

Accessibility & contrast

On white

15.80
#211164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#211164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211164
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211164#FFFFFF#000000##FFFFFF
##2111641.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #211164;
/* rgb */ color: rgb(33, 17, 100);
/* oklch */ color: oklch(26.9% 0.134 281.3);
Tailwind
colors: {
  custom: {
    50: '#675291',
    500: '#211164',
    950: '#000000',
  },
}
SCSS
$custom: #211164;
$custom-light: #675291;
$custom-dark: #000000;
JSON
{
  "hex": "#211164",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 251.566,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26906,
    "c": 0.13412,
    "h": 281.3
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#211164
secondary
#889C35
accent
#EE3ACB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #211164

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

Preview Lab → · Contrast checker → · Palette generator →

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