#661E81#661E81

#661E81 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.162 H 314.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#661E81
RGBrgb(102, 30, 129)
HSLhsl(284, 62%, 31%)
HSVhsv(284, 77%, 51%)
CMYKcmyk(20.9%, 76.7%, 0%, 49.4%)
CIE-LABlab(27.68, 47.03, -40.74)
CIE-LCHlch(27.68, 62.22, 319.09°)
OKLaboklab(39.75% 0.1144 -0.1149)
OKLCHoklch(39.75% 0.162 314.9)
XYZxyz(9.9056, 5.3387, 21.2733)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E81 #39811E
analogous
#341E81 #661E81 #811E6A
triadic
#661E81 #81661E #1E8166
tetradic
#661E81 #81341E #39811E #1E6A81
square
#661E81 #81341E #39811E #1E6A81
split-complementary
#661E81 #6A811E #1E8134
monochromatic
#17071E #3F124F #661E81 #8D2AB3 #AD46D4

Accessibility & contrast

On white

10.16
#661E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#661E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E81
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E81#FFFFFF#000000##FFFFFF
##661E811.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#19437F
Tritanopia (blue-blind)
#64344E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661e81;
/* rgb */ color: rgb(102, 30, 129);
/* oklch */ color: oklch(39.7% 0.162 314.9);
Tailwind
colors: {
  custom: {
    50: '#9562a6',
    500: '#661e81',
    950: '#000000',
  },
}
SCSS
$custom: #661e81;
$custom-light: #9562a6;
$custom-dark: #000000;
JSON
{
  "hex": "#661e81",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 283.636,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39746,
    "c": 0.16215,
    "h": 314.9
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#661E81
secondary
#65B447
accent
#E5426F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661E81

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

Preview Lab → · Contrast checker → · Palette generator →

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