#66158E#66158E

#66158E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 40.0% C 0.183 H 310.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#66158E
RGBrgb(102, 21, 142)
HSLhsl(280, 74%, 32%)
HSVhsv(280, 85%, 56%)
CMYKcmyk(28.2%, 85.2%, 0%, 44.3%)
CIE-LABlab(27.61, 52.91, -48.97)
CIE-LCHlch(27.61, 72.09, 317.21°)
OKLaboklab(40.02% 0.1192 -0.139)
OKLCHoklch(40.02% 0.183 310.6)
XYZxyz(10.6292, 5.3144, 26.0518)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66158E #3D8E15
analogous
#29158E #66158E #8E157A
triadic
#66158E #8E6615 #158E66
tetradic
#66158E #8E2915 #3D8E15 #157A8E
square
#66158E #8E2915 #3D8E15 #157A8E
split-complementary
#66158E #7A8E15 #158E29
monochromatic
#190523 #400D59 #66158E #8C1DC3 #AB3BE2

Accessibility & contrast

On white

10.18
#66158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#66158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66158E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66158E#FFFFFF#000000##FFFFFF
##66158E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#603654
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #66158e;
/* rgb */ color: rgb(102, 21, 142);
/* oklch */ color: oklch(40.0% 0.183 310.6);
Tailwind
colors: {
  custom: {
    50: '#975fb0',
    500: '#66158e',
    950: '#000000',
  },
}
SCSS
$custom: #66158e;
$custom-light: #975fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#66158e",
  "rgb": {
    "r": 102,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 280.165,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40015,
    "c": 0.1831,
    "h": 310.6
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#66158E
secondary
#69C23D
accent
#F13774
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #66158E

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

Preview Lab → · Contrast checker → · Palette generator →

#66158E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva