#211167#211167

#211167 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.138 H 280.6°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#211167
RGBrgb(33, 17, 103)
HSLhsl(251, 72%, 24%)
HSVhsv(251, 83%, 40%)
CMYKcmyk(68%, 83.5%, 0%, 59.6%)
CIE-LABlab(13.85, 34.06, -46.99)
CIE-LCHlch(13.85, 58.03, 305.94°)
OKLaboklab(27.25% 0.0253 -0.1356)
OKLCHoklch(27.25% 0.138 280.6)
XYZxyz(3.2751, 1.7032, 12.9855)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211167 #576711
analogous
#112C67 #211167 #4C1167
triadic
#211167 #672111 #116721
tetradic
#211167 #67112C #576711 #11674C
square
#211167 #67112C #576711 #11674C
split-complementary
#211167 #674C11 #2C6711
monochromatic
#08041A #100832 #211167 #321A9C #4322D0

Accessibility & contrast

On white

15.66
#211167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211167
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211167#FFFFFF#000000##FFFFFF
##2111671.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211167;
/* rgb */ color: rgb(33, 17, 103);
/* oklch */ color: oklch(27.3% 0.138 280.6);
Tailwind
colors: {
  custom: {
    50: '#685293',
    500: '#211167',
    950: '#000000',
  },
}
SCSS
$custom: #211167;
$custom-light: #685293;
$custom-dark: #000000;
JSON
{
  "hex": "#211167",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 251.163,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27253,
    "c": 0.13797,
    "h": 280.6
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#211167
secondary
#8B9F35
accent
#EE39CD
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #211167

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

Preview Lab → · Contrast checker → · Palette generator →

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