#661A80#661A80

#661A80 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.166 H 315.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#661A80
RGBrgb(102, 26, 128)
HSLhsl(285, 66%, 30%)
HSVhsv(285, 80%, 50%)
CMYKcmyk(20.3%, 79.7%, 0%, 49.8%)
CIE-LABlab(27.08, 48.32, -41.08)
CIE-LCHlch(27.08, 63.42, 319.63°)
OKLaboklab(39.3% 0.1183 -0.1159)
OKLCHoklch(39.3% 0.166 315.6)
XYZxyz(9.7445, 5.1225, 20.8933)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A80 #34801A
analogous
#331A80 #661A80 #801A67
triadic
#661A80 #80661A #1A8066
tetradic
#661A80 #80331A #34801A #1A6780
square
#661A80 #80331A #34801A #1A6780
split-complementary
#661A80 #67801A #1A8033
monochromatic
#15051A #3D104D #661A80 #8F24B3 #B03DD8

Accessibility & contrast

On white

10.37
#661A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661A80
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A80#FFFFFF#000000##FFFFFF
##661A801.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661a80;
/* rgb */ color: rgb(102, 26, 128);
/* oklch */ color: oklch(39.3% 0.166 315.6);
Tailwind
colors: {
  custom: {
    50: '#9560a5',
    500: '#661a80',
    950: '#000000',
  },
}
SCSS
$custom: #661a80;
$custom-light: #9560a5;
$custom-dark: #000000;
JSON
{
  "hex": "#661a80",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 284.706,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.393,
    "c": 0.16562,
    "h": 315.6
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#661A80
secondary
#5FB442
accent
#E93F6A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #661A80

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

Preview Lab → · Contrast checker → · Palette generator →

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