#66148D#66148D

#66148D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.9% C 0.183 H 311.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#66148D
RGBrgb(102, 20, 141)
HSLhsl(281, 75%, 32%)
HSVhsv(281, 86%, 55%)
CMYKcmyk(27.7%, 85.8%, 0%, 44.7%)
CIE-LABlab(27.43, 52.99, -48.64)
CIE-LCHlch(27.43, 71.93, 317.45°)
OKLaboklab(39.86% 0.1201 -0.1381)
OKLCHoklch(39.86% 0.183 311)
XYZxyz(10.5364, 5.2484, 25.6521)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66148D #3B8D14
analogous
#2A148D #66148D #8D1478
triadic
#66148D #8D6614 #148D66
tetradic
#66148D #8D2A14 #3B8D14 #14788D
square
#66148D #8D2A14 #3B8D14 #14788D
split-complementary
#66148D #788D14 #148D2A
monochromatic
#180522 #3F0C57 #66148D #8D1CC3 #AC39E3

Accessibility & contrast

On white

10.25
#66148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#66148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66148D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66148D#FFFFFF#000000##FFFFFF
##66148D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#613553
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #66148d;
/* rgb */ color: rgb(102, 20, 141);
/* oklch */ color: oklch(39.9% 0.183 311.0);
Tailwind
colors: {
  custom: {
    50: '#965faf',
    500: '#66148d',
    950: '#000000',
  },
}
SCSS
$custom: #66148d;
$custom-light: #965faf;
$custom-dark: #000000;
JSON
{
  "hex": "#66148d",
  "rgb": {
    "r": 102,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 280.661,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39864,
    "c": 0.183,
    "h": 311
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#66148D
secondary
#67C13C
accent
#F23673
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #66148D

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

Preview Lab → · Contrast checker → · Palette generator →

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