#661F76#661F76

#661F76 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.150 H 319.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#661F76
RGBrgb(102, 31, 118)
HSLhsl(289, 58%, 29%)
HSVhsv(289, 74%, 46%)
CMYKcmyk(13.6%, 73.7%, 0%, 53.7%)
CIE-LABlab(27.05, 44.32, -34.79)
CIE-LCHlch(27.05, 56.34, 321.87°)
OKLaboklab(39.06% 0.1145 -0.0975)
OKLCHoklch(39.06% 0.15 319.6)
XYZxyz(9.2391, 5.1132, 17.6363)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F76 #2F761F
analogous
#3B1F76 #661F76 #761F5B
triadic
#661F76 #76661F #1F7666
tetradic
#661F76 #763B1F #2F761F #1F5B76
square
#661F76 #763B1F #2F761F #1F5B76
split-complementary
#661F76 #5B761F #1F763B
monochromatic
#150618 #3C1246 #661F76 #902CA6 #B442CD

Accessibility & contrast

On white

10.38
#661F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#661F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F76
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F76#FFFFFF#000000##FFFFFF
##661F761.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#264274
Tritanopia (blue-blind)
#663048
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661f76;
/* rgb */ color: rgb(102, 31, 118);
/* oklch */ color: oklch(39.1% 0.150 319.6);
Tailwind
colors: {
  custom: {
    50: '#95629e',
    500: '#661f76',
    950: '#000000',
  },
}
SCSS
$custom: #661f76;
$custom-light: #95629e;
$custom-dark: #000000;
JSON
{
  "hex": "#661f76",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 288.966,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39058,
    "c": 0.1504,
    "h": 319.6
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#661F76
secondary
#59AA47
accent
#E24663
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661F76

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

Preview Lab → · Contrast checker → · Palette generator →

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