#66157C#66157C

#66157C is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.6% C 0.167 H 317.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#66157C
RGBrgb(102, 21, 124)
HSLhsl(287, 71%, 28%)
HSVhsv(287, 83%, 49%)
CMYKcmyk(17.7%, 83.1%, 0%, 51.4%)
CIE-LABlab(26.21, 49.18, -39.96)
CIE-LCHlch(26.21, 63.37, 320.90°)
OKLaboklab(38.59% 0.1233 -0.1126)
OKLCHoklch(38.59% 0.167 317.6)
XYZxyz(9.3852, 4.8168, 19.5002)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66157C #2B7C15
analogous
#32157C #66157C #7C155E
triadic
#66157C #7C6615 #157C66
tetradic
#66157C #7C3215 #2B7C15 #155E7C
square
#66157C #7C3215 #2B7C15 #155E7C
split-complementary
#66157C #5E7C15 #157C32
monochromatic
#16041A #3B0C48 #66157C #911EB0 #B730DC

Accessibility & contrast

On white

10.70
#66157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#66157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66157C
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66157C#FFFFFF#000000##FFFFFF
##66157C1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#18407A
Tritanopia (blue-blind)
#652D49
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #66157c;
/* rgb */ color: rgb(102, 21, 124);
/* oklch */ color: oklch(38.6% 0.167 317.6);
Tailwind
colors: {
  custom: {
    50: '#955ea2',
    500: '#66157c',
    950: '#000000',
  },
}
SCSS
$custom: #66157c;
$custom-light: #955ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#66157c",
  "rgb": {
    "r": 102,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 287.184,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38591,
    "c": 0.16696,
    "h": 317.6
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#66157C
secondary
#55B13C
accent
#EE3A60
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66157C

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

Preview Lab → · Contrast checker → · Palette generator →

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