#66148B#66148B

#66148B is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.181 H 311.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#66148B
RGBrgb(102, 20, 139)
HSLhsl(281, 75%, 31%)
HSVhsv(281, 86%, 55%)
CMYKcmyk(26.6%, 85.6%, 0%, 45.5%)
CIE-LABlab(27.27, 52.56, -47.66)
CIE-LCHlch(27.27, 70.96, 317.80°)
OKLaboklab(39.7% 0.1207 -0.1352)
OKLCHoklch(39.7% 0.181 311.8)
XYZxyz(10.3890, 5.1895, 24.8755)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66148B #398B14
analogous
#2B148B #66148B #8B1474
triadic
#66148B #8B6614 #148B66
tetradic
#66148B #8B2B14 #398B14 #14748B
square
#66148B #8B2B14 #398B14 #14748B
split-complementary
#66148B #748B14 #148B2B
monochromatic
#170520 #3F0C55 #66148B #8D1CC1 #AD37E2

Accessibility & contrast

On white

10.31
#66148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#66148B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66148B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66148B#FFFFFF#000000##FFFFFF
##66148B1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#613452
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #66148b;
/* rgb */ color: rgb(102, 20, 139);
/* oklch */ color: oklch(39.7% 0.181 311.8);
Tailwind
colors: {
  custom: {
    50: '#965fae',
    500: '#66148b',
    950: '#000000',
  },
}
SCSS
$custom: #66148b;
$custom-light: #965fae;
$custom-dark: #000000;
JSON
{
  "hex": "#66148b",
  "rgb": {
    "r": 102,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 281.345,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39699,
    "c": 0.18121,
    "h": 311.8
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#66148B
secondary
#65BF3C
accent
#F13671
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #66148B

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

Preview Lab → · Contrast checker → · Palette generator →

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