#661B80#661B80

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

Color values

HEX#661B80
RGBrgb(102, 27, 128)
HSLhsl(285, 65%, 30%)
HSVhsv(285, 79%, 50%)
CMYKcmyk(20.3%, 78.9%, 0%, 49.8%)
CIE-LABlab(27.21, 47.96, -40.88)
CIE-LCHlch(27.21, 63.02, 319.56°)
OKLaboklab(39.39% 0.1174 -0.1153)
OKLCHoklch(39.39% 0.165 315.5)
XYZxyz(9.7671, 5.1675, 20.9008)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B80 #35801B
analogous
#331B80 #661B80 #801B68
triadic
#661B80 #80661B #1B8066
tetradic
#661B80 #80331B #35801B #1B6880
square
#661B80 #80331B #35801B #1B6880
split-complementary
#661B80 #68801B #1B8033
monochromatic
#15061B #3E104D #661B80 #8E26B3 #AF3FD6

Accessibility & contrast

On white

10.33
#661B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#661B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B80
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B80#FFFFFF#000000##FFFFFF
##661B801.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#18427E
Tritanopia (blue-blind)
#64324D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661b80;
/* rgb */ color: rgb(102, 27, 128);
/* oklch */ color: oklch(39.4% 0.165 315.5);
Tailwind
colors: {
  custom: {
    50: '#9561a5',
    500: '#661b80',
    950: '#000000',
  },
}
SCSS
$custom: #661b80;
$custom-light: #9561a5;
$custom-dark: #000000;
JSON
{
  "hex": "#661b80",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 284.554,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.16455,
    "h": 315.5
  },
  "luminance": 0.05167
}

Semantic roles & 50–950 ramp

primary
#661B80
secondary
#60B443
accent
#E8406B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661B80

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

Preview Lab → · Contrast checker → · Palette generator →

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