#661E7E#661E7E

#661E7E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.159 H 316.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#661E7E
RGBrgb(102, 30, 126)
HSLhsl(285, 62%, 31%)
HSVhsv(285, 76%, 49%)
CMYKcmyk(19%, 76.2%, 0%, 50.6%)
CIE-LABlab(27.46, 46.39, -39.20)
CIE-LCHlch(27.46, 60.74, 319.80°)
OKLaboklab(39.52% 0.1148 -0.1104)
OKLCHoklch(39.52% 0.159 316.1)
XYZxyz(9.7091, 5.2601, 20.2385)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E7E #367E1E
analogous
#361E7E #661E7E #7E1E66
triadic
#661E7E #7E661E #1E7E66
tetradic
#661E7E #7E361E #367E1E #1E667E
square
#661E7E #7E361E #367E1E #1E667E
split-complementary
#661E7E #667E1E #1E7E36
monochromatic
#16061B #3E124D #661E7E #8E2AAF #AF44D2

Accessibility & contrast

On white

10.23
#661E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#661E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E7E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E7E#FFFFFF#000000##FFFFFF
##661E7E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#64324C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661e7e;
/* rgb */ color: rgb(102, 30, 126);
/* oklch */ color: oklch(39.5% 0.159 316.1);
Tailwind
colors: {
  custom: {
    50: '#9562a4',
    500: '#661e7e',
    950: '#000000',
  },
}
SCSS
$custom: #661e7e;
$custom-light: #9562a4;
$custom-dark: #000000;
JSON
{
  "hex": "#661e7e",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 285,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39524,
    "c": 0.15926,
    "h": 316.1
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#661E7E
secondary
#61B147
accent
#E5436C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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