#201166#201166

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

Color values

HEX#201166
RGBrgb(32, 17, 102)
HSLhsl(251, 71%, 23%)
HSVhsv(251, 83%, 40%)
CMYKcmyk(68.6%, 83.3%, 0%, 60%)
CIE-LABlab(13.63, 33.62, -46.68)
CIE-LCHlch(13.63, 57.53, 305.76°)
OKLaboklab(27.05% 0.024 -0.1348)
OKLCHoklch(27.05% 0.137 280.1)
XYZxyz(3.1936, 1.6670, 12.7213)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201166 #576611
analogous
#112C66 #201166 #4A1166
triadic
#201166 #662011 #116620
tetradic
#201166 #66112C #576611 #11664A
square
#201166 #66112C #576611 #11664A
split-complementary
#201166 #664A11 #2C6611
monochromatic
#08041A #100832 #201166 #301A9A #4122CF

Accessibility & contrast

On white

15.75
#201166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201166
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201166#FFFFFF#000000##FFFFFF
##2011661.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201166;
/* rgb */ color: rgb(32, 17, 102);
/* oklch */ color: oklch(27.0% 0.137 280.1);
Tailwind
colors: {
  custom: {
    50: '#675293',
    500: '#201166',
    950: '#000000',
  },
}
SCSS
$custom: #201166;
$custom-light: #675293;
$custom-dark: #000000;
JSON
{
  "hex": "#201166",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 250.588,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27046,
    "c": 0.13689,
    "h": 280.1
  },
  "luminance": 0.01667
}

Semantic roles & 50–950 ramp

primary
#201166
secondary
#8B9E35
accent
#EE3ACE
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #201166

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

Preview Lab → · Contrast checker → · Palette generator →

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