#66148A#66148A

#66148A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.180 H 312.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#66148A
RGBrgb(102, 20, 138)
HSLhsl(282, 75%, 31%)
HSVhsv(282, 86%, 54%)
CMYKcmyk(26.1%, 85.5%, 0%, 45.9%)
CIE-LABlab(27.19, 52.35, -47.17)
CIE-LCHlch(27.19, 70.47, 317.98°)
OKLaboklab(39.62% 0.1209 -0.1337)
OKLCHoklch(39.62% 0.18 312.1)
XYZxyz(10.3162, 5.1604, 24.4924)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66148A #388A14
analogous
#2B148A #66148A #8A1473
triadic
#66148A #8A6614 #148A66
tetradic
#66148A #8A2B14 #388A14 #14738A
square
#66148A #8A2B14 #388A14 #14738A
split-complementary
#66148A #738A14 #148A2B
monochromatic
#17051F #3E0C55 #66148A #8E1CBF #AE36E2

Accessibility & contrast

On white

10.33
#66148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#66148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66148A
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66148A#FFFFFF#000000##FFFFFF
##66148A1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#623351
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #66148a;
/* rgb */ color: rgb(102, 20, 138);
/* oklch */ color: oklch(39.6% 0.180 312.1);
Tailwind
colors: {
  custom: {
    50: '#965ead',
    500: '#66148a',
    950: '#000000',
  },
}
SCSS
$custom: #66148a;
$custom-light: #965ead;
$custom-dark: #000000;
JSON
{
  "hex": "#66148a",
  "rgb": {
    "r": 102,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 281.695,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39617,
    "c": 0.18031,
    "h": 312.1
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#66148A
secondary
#63BE3C
accent
#F1366F
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #66148A

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

Preview Lab → · Contrast checker → · Palette generator →

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