#211168#211168

#211168 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.139 H 280.4°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#211168
RGBrgb(33, 17, 104)
HSLhsl(251, 72%, 24%)
HSVhsv(251, 84%, 41%)
CMYKcmyk(68.3%, 83.7%, 0%, 59.2%)
CIE-LABlab(13.96, 34.38, -47.45)
CIE-LCHlch(13.96, 58.60, 305.93°)
OKLaboklab(27.37% 0.025 -0.137)
OKLCHoklch(27.37% 0.139 280.4)
XYZxyz(3.3255, 1.7234, 13.2514)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211168 #586811
analogous
#112C68 #211168 #4C1168
triadic
#211168 #682111 #116821
tetradic
#211168 #68112C #586811 #11684C
square
#211168 #68112C #586811 #11684C
split-complementary
#211168 #684C11 #2C6811
monochromatic
#08041A #100833 #211168 #321A9D #4222D1

Accessibility & contrast

On white

15.62
#211168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211168
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211168#FFFFFF#000000##FFFFFF
##2111681.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #211168;
/* rgb */ color: rgb(33, 17, 104);
/* oklch */ color: oklch(27.4% 0.139 280.4);
Tailwind
colors: {
  custom: {
    50: '#685294',
    500: '#211168',
    950: '#000000',
  },
}
SCSS
$custom: #211168;
$custom-light: #685294;
$custom-dark: #000000;
JSON
{
  "hex": "#211168",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 251.034,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2737,
    "c": 0.13924,
    "h": 280.4
  },
  "luminance": 0.01724
}

Semantic roles & 50–950 ramp

primary
#211168
secondary
#8CA035
accent
#EF39CD
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #211168

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

Preview Lab → · Contrast checker → · Palette generator →

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