#66147E#66147E

#66147E is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.7% C 0.170 H 316.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#66147E
RGBrgb(102, 20, 126)
HSLhsl(286, 73%, 29%)
HSVhsv(286, 84%, 49%)
CMYKcmyk(19%, 84.1%, 0%, 50.6%)
CIE-LABlab(26.25, 49.89, -41.16)
CIE-LCHlch(26.25, 64.67, 320.48°)
OKLaboklab(38.67% 0.1237 -0.1161)
OKLCHoklch(38.67% 0.17 316.8)
XYZxyz(9.4950, 4.8319, 20.1671)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66147E #2C7E14
analogous
#31147E #66147E #7E1461
triadic
#66147E #7E6614 #147E66
tetradic
#66147E #7E3114 #2C7E14 #14617E
square
#66147E #7E3114 #2C7E14 #14617E
split-complementary
#66147E #617E14 #147E31
monochromatic
#15041A #3B0C49 #66147E #911CB3 #B62EDE

Accessibility & contrast

On white

10.68
#66147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#66147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66147E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66147E#FFFFFF#000000##FFFFFF
##66147E1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#15407C
Tritanopia (blue-blind)
#652E4A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #66147e;
/* rgb */ color: rgb(102, 20, 126);
/* oklch */ color: oklch(38.7% 0.170 316.8);
Tailwind
colors: {
  custom: {
    50: '#965ea4',
    500: '#66147e',
    950: '#000000',
  },
}
SCSS
$custom: #66147e;
$custom-light: #965ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#66147e",
  "rgb": {
    "r": 102,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 286.415,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38669,
    "c": 0.16964,
    "h": 316.8
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#66147E
secondary
#56B33A
accent
#EF3862
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66147E

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

Preview Lab → · Contrast checker → · Palette generator →

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