#661C7C#661C7C

#661C7C is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.160 H 317.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#661C7C
RGBrgb(102, 28, 124)
HSLhsl(286, 63%, 30%)
HSVhsv(286, 77%, 49%)
CMYKcmyk(17.7%, 77.4%, 0%, 51.4%)
CIE-LABlab(27.05, 46.75, -38.61)
CIE-LCHlch(27.05, 60.63, 320.45°)
OKLaboklab(39.18% 0.1171 -0.1086)
OKLCHoklch(39.18% 0.16 317.1)
XYZxyz(9.5323, 5.1109, 19.5493)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C7C #327C1C
analogous
#361C7C #661C7C #7C1C62
triadic
#661C7C #7C661C #1C7C66
tetradic
#661C7C #7C361C #327C1C #1C627C
square
#661C7C #7C361C #327C1C #1C627C
split-complementary
#661C7C #627C1C #1C7C36
monochromatic
#150619 #3D114A #661C7C #8F27AE #B23FD4

Accessibility & contrast

On white

10.38
#661C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#661C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C7C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C7C#FFFFFF#000000##FFFFFF
##661C7C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#1E427A
Tritanopia (blue-blind)
#65314B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661c7c;
/* rgb */ color: rgb(102, 28, 124);
/* oklch */ color: oklch(39.2% 0.160 317.1);
Tailwind
colors: {
  custom: {
    50: '#9561a2',
    500: '#661c7c',
    950: '#000000',
  },
}
SCSS
$custom: #661c7c;
$custom-light: #9561a2;
$custom-dark: #000000;
JSON
{
  "hex": "#661c7c",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 286.25,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39185,
    "c": 0.1597,
    "h": 317.1
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#661C7C
secondary
#5DB044
accent
#E64267
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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