#66148E#66148E

#66148E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.184 H 310.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#66148E
RGBrgb(102, 20, 142)
HSLhsl(280, 75%, 32%)
HSVhsv(280, 86%, 56%)
CMYKcmyk(28.2%, 85.9%, 0%, 44.3%)
CIE-LABlab(27.51, 53.20, -49.13)
CIE-LCHlch(27.51, 72.41, 317.28°)
OKLaboklab(39.95% 0.1198 -0.1395)
OKLCHoklch(39.95% 0.184 310.7)
XYZxyz(10.6112, 5.2783, 26.0458)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66148E #3C8E14
analogous
#29148E #66148E #8E1479
triadic
#66148E #8E6614 #148E66
tetradic
#66148E #8E2914 #3C8E14 #14798E
square
#66148E #8E2914 #3C8E14 #14798E
split-complementary
#66148E #798E14 #148E29
monochromatic
#190523 #3F0C58 #66148E #8D1CC4 #AB39E3

Accessibility & contrast

On white

10.22
#66148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66148E
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66148E#FFFFFF#000000##FFFFFF
##66148E1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #66148e;
/* rgb */ color: rgb(102, 20, 142);
/* oklch */ color: oklch(39.9% 0.184 310.7);
Tailwind
colors: {
  custom: {
    50: '#975fb0',
    500: '#66148e',
    950: '#000000',
  },
}
SCSS
$custom: #66148e;
$custom-light: #975fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#66148e",
  "rgb": {
    "r": 102,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 280.328,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39946,
    "c": 0.1839,
    "h": 310.7
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

primary
#66148E
secondary
#68C23C
accent
#F23674
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #66148E

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

Preview Lab → · Contrast checker → · Palette generator →

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