#66147B#66147B

#66147B is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.167 H 318.1°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#66147B
RGBrgb(102, 20, 123)
HSLhsl(288, 72%, 28%)
HSVhsv(288, 84%, 48%)
CMYKcmyk(17.1%, 83.7%, 0%, 51.8%)
CIE-LABlab(26.03, 49.29, -39.62)
CIE-LCHlch(26.03, 63.24, 321.20°)
OKLaboklab(38.44% 0.1243 -0.1116)
OKLCHoklch(38.44% 0.167 318.1)
XYZxyz(9.3043, 4.7556, 19.1629)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66147B #297B14
analogous
#32147B #66147B #7B145C
triadic
#66147B #7B6614 #147B66
tetradic
#66147B #7B3214 #297B14 #145C7B
square
#66147B #7B3214 #297B14 #145C7B
split-complementary
#66147B #5C7B14 #147B32
monochromatic
#16041A #3A0B46 #66147B #921DB0 #B92DDD

Accessibility & contrast

On white

10.76
#66147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#66147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66147B
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66147B#FFFFFF#000000##FFFFFF
##66147B1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#194079
Tritanopia (blue-blind)
#652C48
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #66147b;
/* rgb */ color: rgb(102, 20, 123);
/* oklch */ color: oklch(38.4% 0.167 318.1);
Tailwind
colors: {
  custom: {
    50: '#955ea2',
    500: '#66147b',
    950: '#000000',
  },
}
SCSS
$custom: #66147b;
$custom-light: #955ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#66147b",
  "rgb": {
    "r": 102,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 287.767,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38441,
    "c": 0.16699,
    "h": 318.1
  },
  "luminance": 0.04755
}

Semantic roles & 50–950 ramp

primary
#66147B
secondary
#52B13A
accent
#EF395E
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66147B

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

Preview Lab → · Contrast checker → · Palette generator →

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