#661E76#661E76

#661E76 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.152 H 319.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#661E76
RGBrgb(102, 30, 118)
HSLhsl(289, 59%, 29%)
HSVhsv(289, 75%, 46%)
CMYKcmyk(13.6%, 74.6%, 0%, 53.7%)
CIE-LABlab(26.91, 44.73, -35.02)
CIE-LCHlch(26.91, 56.81, 321.94°)
OKLaboklab(38.95% 0.1156 -0.0981)
OKLCHoklch(38.95% 0.152 319.7)
XYZxyz(9.2134, 5.0618, 17.6277)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E76 #2E761E
analogous
#3A1E76 #661E76 #761E5A
triadic
#661E76 #76661E #1E7666
tetradic
#661E76 #763A1E #2E761E #1E5A76
square
#661E76 #763A1E #2E761E #1E5A76
split-complementary
#661E76 #5A761E #1E763A
monochromatic
#150618 #3C1245 #661E76 #902AA7 #B540CE

Accessibility & contrast

On white

10.44
#661E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#661E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E76
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E76#FFFFFF#000000##FFFFFF
##661E761.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#254274
Tritanopia (blue-blind)
#662F48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661e76;
/* rgb */ color: rgb(102, 30, 118);
/* oklch */ color: oklch(39.0% 0.152 319.7);
Tailwind
colors: {
  custom: {
    50: '#95619e',
    500: '#661e76',
    950: '#000000',
  },
}
SCSS
$custom: #661e76;
$custom-light: #95619e;
$custom-dark: #000000;
JSON
{
  "hex": "#661e76",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 289.091,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38954,
    "c": 0.15166,
    "h": 319.7
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#661E76
secondary
#58AA46
accent
#E34562
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661E76

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

Preview Lab → · Contrast checker → · Palette generator →

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