#66157D#66157D

#66157D is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.7% C 0.168 H 317.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#66157D
RGBrgb(102, 21, 125)
HSLhsl(287, 71%, 29%)
HSVhsv(287, 83%, 49%)
CMYKcmyk(18.4%, 83.2%, 0%, 51%)
CIE-LABlab(26.28, 49.38, -40.48)
CIE-LCHlch(26.28, 63.85, 320.66°)
OKLaboklab(38.67% 0.1231 -0.1141)
OKLCHoklch(38.67% 0.168 317.2)
XYZxyz(9.4488, 4.8422, 19.8350)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66157D #2C7D15
analogous
#32157D #66157D #7D1560
triadic
#66157D #7D6615 #157D66
tetradic
#66157D #7D3215 #2C7D15 #15607D
square
#66157D #7D3215 #2C7D15 #15607D
split-complementary
#66157D #607D15 #157D32
monochromatic
#15041A #3B0C49 #66157D #911EB1 #B630DC

Accessibility & contrast

On white

10.67
#66157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#66157D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66157D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66157D#FFFFFF#000000##FFFFFF
##66157D1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#17407B
Tritanopia (blue-blind)
#652E4A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #66157d;
/* rgb */ color: rgb(102, 21, 125);
/* oklch */ color: oklch(38.7% 0.168 317.2);
Tailwind
colors: {
  custom: {
    50: '#955ea3',
    500: '#66157d',
    950: '#000000',
  },
}
SCSS
$custom: #66157d;
$custom-light: #955ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#66157d",
  "rgb": {
    "r": 102,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 286.731,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38666,
    "c": 0.16784,
    "h": 317.2
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#66157D
secondary
#56B23C
accent
#EE3A62
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66157D

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

Preview Lab → · Contrast checker → · Palette generator →

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