#661A79#661A79

#661A79 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.159 H 318.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#661A79
RGBrgb(102, 26, 121)
HSLhsl(288, 65%, 29%)
HSVhsv(288, 79%, 47%)
CMYKcmyk(15.7%, 78.5%, 0%, 52.5%)
CIE-LABlab(26.58, 46.88, -37.47)
CIE-LCHlch(26.58, 60.01, 321.37°)
OKLaboklab(38.78% 0.1194 -0.1053)
OKLCHoklch(38.78% 0.159 318.6)
XYZxyz(9.2996, 4.9445, 18.5500)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A79 #2D791A
analogous
#371A79 #661A79 #791A5D
triadic
#661A79 #79661A #1A7966
tetradic
#661A79 #79371A #2D791A #1A5D79
square
#661A79 #79371A #2D791A #1A5D79
split-complementary
#661A79 #5D791A #1A7937
monochromatic
#150519 #3C0F47 #661A79 #9025AB #B539D4

Accessibility & contrast

On white

10.56
#661A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#661A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A79
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A79#FFFFFF#000000##FFFFFF
##661A791.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#204177
Tritanopia (blue-blind)
#662E49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661a79;
/* rgb */ color: rgb(102, 26, 121);
/* oklch */ color: oklch(38.8% 0.159 318.6);
Tailwind
colors: {
  custom: {
    50: '#9560a0',
    500: '#661a79',
    950: '#000000',
  },
}
SCSS
$custom: #661a79;
$custom-light: #9560a0;
$custom-dark: #000000;
JSON
{
  "hex": "#661a79",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 288,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38783,
    "c": 0.15916,
    "h": 318.6
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#661A79
secondary
#57AD41
accent
#E84062
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #661A79

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

Preview Lab → · Contrast checker → · Palette generator →

#661A79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva