#66167D#66167D

#66167D is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.167 H 317.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#66167D
RGBrgb(102, 22, 125)
HSLhsl(287, 70%, 29%)
HSVhsv(287, 82%, 49%)
CMYKcmyk(18.4%, 82.4%, 0%, 51%)
CIE-LABlab(26.39, 49.06, -40.30)
CIE-LCHlch(26.39, 63.49, 320.60°)
OKLaboklab(38.74% 0.1223 -0.1136)
OKLCHoklch(38.74% 0.167 317.1)
XYZxyz(9.4675, 4.8797, 19.8412)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66167D #2D7D16
analogous
#33167D #66167D #7D1661
triadic
#66167D #7D6616 #167D66
tetradic
#66167D #7D3316 #2D7D16 #16617D
square
#66167D #7D3316 #2D7D16 #16617D
split-complementary
#66167D #617D16 #167D33
monochromatic
#15051A #3C0D49 #66167D #901FB1 #B532DB

Accessibility & contrast

On white

10.63
#66167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66167D
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66167D#FFFFFF#000000##FFFFFF
##66167D1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#18417B
Tritanopia (blue-blind)
#652E4A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #66167d;
/* rgb */ color: rgb(102, 22, 125);
/* oklch */ color: oklch(38.7% 0.167 317.1);
Tailwind
colors: {
  custom: {
    50: '#955ea3',
    500: '#66167d',
    950: '#000000',
  },
}
SCSS
$custom: #66167d;
$custom-light: #955ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#66167d",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 286.602,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38743,
    "c": 0.1669,
    "h": 317.1
  },
  "luminance": 0.04879
}

Semantic roles & 50–950 ramp

primary
#66167D
secondary
#57B23D
accent
#ED3B63
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66167D

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

Preview Lab → · Contrast checker → · Palette generator →

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