#661D7E#661D7E

#661D7E is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.160 H 316.2°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#661D7E
RGBrgb(102, 29, 126)
HSLhsl(285, 63%, 30%)
HSVhsv(285, 77%, 49%)
CMYKcmyk(19%, 77%, 0%, 50.6%)
CIE-LABlab(27.33, 46.78, -39.42)
CIE-LCHlch(27.33, 61.18, 319.88°)
OKLaboklab(39.43% 0.1158 -0.111)
OKLCHoklch(39.43% 0.16 316.2)
XYZxyz(9.6842, 5.2103, 20.2302)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D7E #357E1D
analogous
#361D7E #661D7E #7E1D65
triadic
#661D7E #7E661D #1D7E66
tetradic
#661D7E #7E361D #357E1D #1D657E
square
#661D7E #7E361D #357E1D #1D657E
split-complementary
#661D7E #657E1D #1D7E36
monochromatic
#15061B #3E124C #661D7E #8E28B0 #AF42D3

Accessibility & contrast

On white

10.28
#661D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#661D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D7E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D7E#FFFFFF#000000##FFFFFF
##661D7E1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661d7e;
/* rgb */ color: rgb(102, 29, 126);
/* oklch */ color: oklch(39.4% 0.160 316.2);
Tailwind
colors: {
  custom: {
    50: '#9561a4',
    500: '#661d7e',
    950: '#000000',
  },
}
SCSS
$custom: #661d7e;
$custom-light: #9561a4;
$custom-dark: #000000;
JSON
{
  "hex": "#661d7e",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 285.155,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39427,
    "c": 0.16044,
    "h": 316.2
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#661D7E
secondary
#60B145
accent
#E6426B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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