#661C7F#661C7F

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

Color values

HEX#661C7F
RGBrgb(102, 28, 127)
HSLhsl(285, 64%, 30%)
HSVhsv(285, 78%, 50%)
CMYKcmyk(19.7%, 78%, 0%, 50.2%)
CIE-LABlab(27.26, 47.38, -40.15)
CIE-LCHlch(27.26, 62.10, 319.72°)
OKLaboklab(39.41% 0.1166 -0.1132)
OKLCHoklch(39.41% 0.163 315.9)
XYZxyz(9.7249, 5.1880, 20.5637)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C7F #357F1C
analogous
#341C7F #661C7F #7F1C67
triadic
#661C7F #7F661C #1C7F66
tetradic
#661C7F #7F341C #357F1C #1C677F
square
#661C7F #7F341C #357F1C #1C677F
split-complementary
#661C7F #677F1C #1C7F34
monochromatic
#15061B #3E114D #661C7F #8E27B1 #AF40D5

Accessibility & contrast

On white

10.31
#661C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661C7F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C7F#FFFFFF#000000##FFFFFF
##661C7F1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#1A427D
Tritanopia (blue-blind)
#64324C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661c7f;
/* rgb */ color: rgb(102, 28, 127);
/* oklch */ color: oklch(39.4% 0.163 315.9);
Tailwind
colors: {
  custom: {
    50: '#9561a5',
    500: '#661c7f',
    950: '#000000',
  },
}
SCSS
$custom: #661c7f;
$custom-light: #9561a5;
$custom-dark: #000000;
JSON
{
  "hex": "#661c7f",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 284.848,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39406,
    "c": 0.16252,
    "h": 315.9
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#661C7F
secondary
#60B344
accent
#E7416B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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