#211160#211160

#211160 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.4% C 0.129 H 282.3°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#211160
RGBrgb(33, 17, 96)
HSLhsl(252, 70%, 22%)
HSVhsv(252, 82%, 38%)
CMYKcmyk(65.6%, 82.3%, 0%, 62.4%)
CIE-LABlab(13.04, 31.76, -43.68)
CIE-LCHlch(13.04, 54.01, 306.02°)
OKLaboklab(26.45% 0.0276 -0.126)
OKLCHoklch(26.45% 0.129 282.3)
XYZxyz(2.9383, 1.5686, 11.2120)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211160 #506011
analogous
#112960 #211160 #491160
triadic
#211160 #602111 #116021
tetradic
#211160 #601129 #506011 #116049
square
#211160 #601129 #506011 #116049
split-complementary
#211160 #604911 #296011
monochromatic
#09051A #0F082C #211160 #331A94 #4523C8

Accessibility & contrast

On white

15.98
#211160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#211160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211160
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211160#FFFFFF#000000##FFFFFF
##2111601.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211160;
/* rgb */ color: rgb(33, 17, 96);
/* oklch */ color: oklch(26.4% 0.129 282.3);
Tailwind
colors: {
  custom: {
    50: '#66518e',
    500: '#211160',
    950: '#000000',
  },
}
SCSS
$custom: #211160;
$custom-light: #66518e;
$custom-dark: #000000;
JSON
{
  "hex": "#211160",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 252.152,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26449,
    "c": 0.12895,
    "h": 282.3
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#211160
secondary
#849934
accent
#ED3BC9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #211160

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

Preview Lab → · Contrast checker → · Palette generator →

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