#66167F#66167F

#66167F is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.9% C 0.169 H 316.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#66167F
RGBrgb(102, 22, 127)
HSLhsl(286, 70%, 29%)
HSVhsv(286, 83%, 50%)
CMYKcmyk(19.7%, 82.7%, 0%, 50.2%)
CIE-LABlab(26.54, 49.47, -41.33)
CIE-LCHlch(26.54, 64.46, 320.13°)
OKLaboklab(38.89% 0.1219 -0.1166)
OKLCHoklch(38.89% 0.169 316.3)
XYZxyz(9.5966, 4.9313, 20.5209)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66167F #2F7F16
analogous
#31167F #66167F #7F1664
triadic
#66167F #7F6616 #167F66
tetradic
#66167F #7F3116 #2F7F16 #16647F
square
#66167F #7F3116 #2F7F16 #16647F
split-complementary
#66167F #647F16 #167F31
monochromatic
#15051A #3C0D4B #66167F #901FB3 #B434DC

Accessibility & contrast

On white

10.57
#66167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#66167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66167F
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66167F#FFFFFF#000000##FFFFFF
##66167F1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#15417D
Tritanopia (blue-blind)
#642F4B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #66167f;
/* rgb */ color: rgb(102, 22, 127);
/* oklch */ color: oklch(38.9% 0.169 316.3);
Tailwind
colors: {
  custom: {
    50: '#965fa5',
    500: '#66167f',
    950: '#000000',
  },
}
SCSS
$custom: #66167f;
$custom-light: #965fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#66167f",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 285.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38894,
    "c": 0.1687,
    "h": 316.3
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#66167F
secondary
#59B43D
accent
#ED3B65
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66167F

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

Preview Lab → · Contrast checker → · Palette generator →

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