#661C80#661C80

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

Color values

HEX#661C80
RGBrgb(102, 28, 128)
HSLhsl(284, 64%, 31%)
HSVhsv(284, 78%, 50%)
CMYKcmyk(20.3%, 78.1%, 0%, 49.8%)
CIE-LABlab(27.34, 47.59, -40.67)
CIE-LCHlch(27.34, 62.60, 319.48°)
OKLaboklab(39.48% 0.1165 -0.1147)
OKLCHoklch(39.48% 0.163 315.4)
XYZxyz(9.7904, 5.2142, 20.9086)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C80 #36801C
analogous
#341C80 #661C80 #801C68
triadic
#661C80 #80661C #1C8066
tetradic
#661C80 #80341C #36801C #1C6880
square
#661C80 #80341C #36801C #1C6880
split-complementary
#661C80 #68801C #1C8034
monochromatic
#16061C #3E114E #661C80 #8E27B2 #AF41D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##661C80#FFFFFF#000000##FFFFFF
##661C801.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)
#003C83
Deuteranopia (green-blind)
#19427E
Tritanopia (blue-blind)
#64324D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661c80;
/* rgb */ color: rgb(102, 28, 128);
/* oklch */ color: oklch(39.5% 0.163 315.4);
Tailwind
colors: {
  custom: {
    50: '#9561a5',
    500: '#661c80',
    950: '#000000',
  },
}
SCSS
$custom: #661c80;
$custom-light: #9561a5;
$custom-dark: #000000;
JSON
{
  "hex": "#661c80",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 284.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3948,
    "c": 0.16346,
    "h": 315.4
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#661C80
secondary
#61B344
accent
#E7416C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661C80

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

Preview Lab → · Contrast checker → · Palette generator →

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