#66147D#66147D

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

Color values

HEX#66147D
RGBrgb(102, 20, 125)
HSLhsl(287, 72%, 28%)
HSVhsv(287, 84%, 49%)
CMYKcmyk(18.4%, 84%, 0%, 51%)
CIE-LABlab(26.18, 49.69, -40.65)
CIE-LCHlch(26.18, 64.19, 320.71°)
OKLaboklab(38.59% 0.1239 -0.1146)
OKLCHoklch(38.59% 0.169 317.2)
XYZxyz(9.4308, 4.8062, 19.8290)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66147D #2B7D14
analogous
#31147D #66147D #7D145F
triadic
#66147D #7D6614 #147D66
tetradic
#66147D #7D3114 #2B7D14 #145F7D
square
#66147D #7D3114 #2B7D14 #145F7D
split-complementary
#66147D #5F7D14 #147D31
monochromatic
#16041A #3B0C48 #66147D #911CB2 #B72EDE

Accessibility & contrast

On white

10.71
#66147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#66147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66147D
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66147D#FFFFFF#000000##FFFFFF
##66147D1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #66147d;
/* rgb */ color: rgb(102, 20, 125);
/* oklch */ color: oklch(38.6% 0.169 317.2);
Tailwind
colors: {
  custom: {
    50: '#965ea3',
    500: '#66147d',
    950: '#000000',
  },
}
SCSS
$custom: #66147d;
$custom-light: #965ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#66147d",
  "rgb": {
    "r": 102,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 286.857,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38592,
    "c": 0.16875,
    "h": 317.2
  },
  "luminance": 0.04806
}

Semantic roles & 50–950 ramp

primary
#66147D
secondary
#55B23A
accent
#EF3961
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66147D

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

Preview Lab → · Contrast checker → · Palette generator →

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