#66147C#66147C

#66147C is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.168 H 317.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#66147C
RGBrgb(102, 20, 124)
HSLhsl(287, 72%, 28%)
HSVhsv(287, 84%, 49%)
CMYKcmyk(17.7%, 83.9%, 0%, 51.4%)
CIE-LABlab(26.10, 49.49, -40.13)
CIE-LCHlch(26.10, 63.72, 320.96°)
OKLaboklab(38.52% 0.1241 -0.1131)
OKLCHoklch(38.52% 0.168 317.7)
XYZxyz(9.3672, 4.7808, 19.4942)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66147C #2A7C14
analogous
#32147C #66147C #7C145E
triadic
#66147C #7C6614 #147C66
tetradic
#66147C #7C3214 #2A7C14 #145E7C
square
#66147C #7C3214 #2A7C14 #145E7C
split-complementary
#66147C #5E7C14 #147C32
monochromatic
#16041A #3B0B47 #66147C #911DB1 #B82DDD

Accessibility & contrast

On white

10.74
#66147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66147C
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66147C#FFFFFF#000000##FFFFFF
##66147C1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#18407A
Tritanopia (blue-blind)
#652D49
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #66147c;
/* rgb */ color: rgb(102, 20, 124);
/* oklch */ color: oklch(38.5% 0.168 317.7);
Tailwind
colors: {
  custom: {
    50: '#955ea2',
    500: '#66147c',
    950: '#000000',
  },
}
SCSS
$custom: #66147c;
$custom-light: #955ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#66147c",
  "rgb": {
    "r": 102,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 287.308,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38517,
    "c": 0.16787,
    "h": 317.7
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#66147C
secondary
#54B23A
accent
#EF395F
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66147C

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

Preview Lab → · Contrast checker → · Palette generator →

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