#66157A#66157A

#66157A is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.165 H 318.5°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#66157A
RGBrgb(102, 21, 122)
HSLhsl(288, 71%, 28%)
HSVhsv(288, 83%, 48%)
CMYKcmyk(16.4%, 82.8%, 0%, 52.2%)
CIE-LABlab(26.06, 48.78, -38.93)
CIE-LCHlch(26.06, 62.41, 321.41°)
OKLaboklab(38.44% 0.1236 -0.1095)
OKLCHoklch(38.44% 0.165 318.5)
XYZxyz(9.2600, 4.7667, 18.8409)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66157A #297A15
analogous
#34157A #66157A #7A155B
triadic
#66157A #7A6615 #157A66
tetradic
#66157A #7A3415 #297A15 #155B7A
square
#66157A #7A3415 #297A15 #155B7A
split-complementary
#66157A #5B7A15 #157A34
monochromatic
#16041A #3A0C46 #66157A #921EAE #B92EDB

Accessibility & contrast

On white

10.75
#66157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#66157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66157A
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66157A#FFFFFF#000000##FFFFFF
##66157A1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#1B4078
Tritanopia (blue-blind)
#652C48
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #66157a;
/* rgb */ color: rgb(102, 21, 122);
/* oklch */ color: oklch(38.4% 0.165 318.5);
Tailwind
colors: {
  custom: {
    50: '#955ea1',
    500: '#66157a',
    950: '#000000',
  },
}
SCSS
$custom: #66157a;
$custom-light: #955ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#66157a",
  "rgb": {
    "r": 102,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 288.119,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38441,
    "c": 0.16519,
    "h": 318.5
  },
  "luminance": 0.04766
}

Semantic roles & 50–950 ramp

primary
#66157A
secondary
#52AF3B
accent
#ED3A5E
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66157A

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

Preview Lab → · Contrast checker → · Palette generator →

#66157A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva