#66157B#66157B

#66157B is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.166 H 318.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#66157B
RGBrgb(102, 21, 123)
HSLhsl(288, 71%, 28%)
HSVhsv(288, 83%, 48%)
CMYKcmyk(17.1%, 82.9%, 0%, 51.8%)
CIE-LABlab(26.13, 48.98, -39.45)
CIE-LCHlch(26.13, 62.89, 321.15°)
OKLaboklab(38.52% 0.1235 -0.1111)
OKLCHoklch(38.52% 0.166 318)
XYZxyz(9.3223, 4.7916, 19.1689)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66157B #2A7B15
analogous
#33157B #66157B #7B155D
triadic
#66157B #7B6615 #157B66
tetradic
#66157B #7B3315 #2A7B15 #155D7B
square
#66157B #7B3315 #2A7B15 #155D7B
split-complementary
#66157B #5D7B15 #157B33
monochromatic
#16041A #3B0C47 #66157B #911EAF #B82FDB

Accessibility & contrast

On white

10.72
#66157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66157B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66157B#FFFFFF#000000##FFFFFF
##66157B1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#1A4079
Tritanopia (blue-blind)
#652D49
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #66157b;
/* rgb */ color: rgb(102, 21, 123);
/* oklch */ color: oklch(38.5% 0.166 318.0);
Tailwind
colors: {
  custom: {
    50: '#955ea2',
    500: '#66157b',
    950: '#000000',
  },
}
SCSS
$custom: #66157b;
$custom-light: #955ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#66157b",
  "rgb": {
    "r": 102,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 287.647,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38516,
    "c": 0.16607,
    "h": 318
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#66157B
secondary
#54B03B
accent
#EE3A5F
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66157B

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

Preview Lab → · Contrast checker → · Palette generator →

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