#66168D#66168D

#66168D is a dark, vivid purple. Relative luminance 0.053; OKLCH L 40.0% C 0.181 H 310.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#66168D
RGBrgb(102, 22, 141)
HSLhsl(280, 73%, 32%)
HSVhsv(280, 84%, 55%)
CMYKcmyk(27.7%, 84.4%, 0%, 44.7%)
CIE-LABlab(27.63, 52.40, -48.31)
CIE-LCHlch(27.63, 71.27, 317.32°)
OKLaboklab(40% 0.1187 -0.1371)
OKLCHoklch(40% 0.181 310.9)
XYZxyz(10.5732, 5.3220, 25.6644)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66168D #3D8D16
analogous
#2B168D #66168D #8D1679
triadic
#66168D #8D6616 #168D66
tetradic
#66168D #8D2B16 #3D8D16 #16798D
square
#66168D #8D2B16 #3D8D16 #16798D
split-complementary
#66168D #798D16 #168D2B
monochromatic
#190523 #400E58 #66168D #8C1EC2 #AB3DE1

Accessibility & contrast

On white

10.17
#66168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#66168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66168D
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66168D#FFFFFF#000000##FFFFFF
##66168D1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#613653
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #66168d;
/* rgb */ color: rgb(102, 22, 141);
/* oklch */ color: oklch(40.0% 0.181 310.9);
Tailwind
colors: {
  custom: {
    50: '#965faf',
    500: '#66168d',
    950: '#000000',
  },
}
SCSS
$custom: #66168d;
$custom-light: #965faf;
$custom-dark: #000000;
JSON
{
  "hex": "#66168d",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 280.336,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40004,
    "c": 0.18137,
    "h": 310.9
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#66168D
secondary
#69C13E
accent
#F03874
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #66168D

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

Preview Lab → · Contrast checker → · Palette generator →

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