#66167E#66167E

#66167E is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.168 H 316.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#66167E
RGBrgb(102, 22, 126)
HSLhsl(286, 70%, 29%)
HSVhsv(286, 83%, 49%)
CMYKcmyk(19%, 82.5%, 0%, 50.6%)
CIE-LABlab(26.46, 49.27, -40.82)
CIE-LCHlch(26.46, 63.98, 320.36°)
OKLaboklab(38.82% 0.1221 -0.1151)
OKLCHoklch(38.82% 0.168 316.7)
XYZxyz(9.5317, 4.9054, 20.1794)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66167E #2E7E16
analogous
#32167E #66167E #7E1662
triadic
#66167E #7E6616 #167E66
tetradic
#66167E #7E3216 #2E7E16 #16627E
square
#66167E #7E3216 #2E7E16 #16627E
split-complementary
#66167E #627E16 #167E32
monochromatic
#15051A #3C0D4A #66167E #901FB2 #B533DB

Accessibility & contrast

On white

10.60
#66167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#66167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66167E
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66167E#FFFFFF#000000##FFFFFF
##66167E1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#16417C
Tritanopia (blue-blind)
#652E4B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #66167e;
/* rgb */ color: rgb(102, 22, 126);
/* oklch */ color: oklch(38.8% 0.168 316.7);
Tailwind
colors: {
  custom: {
    50: '#955fa4',
    500: '#66167e',
    950: '#000000',
  },
}
SCSS
$custom: #66167e;
$custom-light: #955fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#66167e",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 286.154,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38818,
    "c": 0.1678,
    "h": 316.7
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#66167E
secondary
#58B33D
accent
#ED3B64
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66167E

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

Preview Lab → · Contrast checker → · Palette generator →

#66167E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva