#661480#661480

#661480 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.171 H 316.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#661480
RGBrgb(102, 20, 128)
HSLhsl(286, 73%, 29%)
HSVhsv(286, 84%, 50%)
CMYKcmyk(20.3%, 84.4%, 0%, 49.8%)
CIE-LABlab(26.40, 50.29, -42.18)
CIE-LCHlch(26.40, 65.64, 320.01°)
OKLaboklab(38.82% 0.1233 -0.1191)
OKLCHoklch(38.82% 0.171 316)
XYZxyz(9.6253, 4.8840, 20.8536)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661480 #2E8014
analogous
#301480 #661480 #801464
triadic
#661480 #806614 #148066
tetradic
#661480 #803014 #2E8014 #146480
square
#661480 #803014 #2E8014 #146480
split-complementary
#661480 #648014 #148030
monochromatic
#15041A #3C0C4B #661480 #901CB5 #B530DF

Accessibility & contrast

On white

10.62
#661480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#661480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661480
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661480#FFFFFF#000000##FFFFFF
##6614801.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#11417E
Tritanopia (blue-blind)
#642F4B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661480;
/* rgb */ color: rgb(102, 20, 128);
/* oklch */ color: oklch(38.8% 0.171 316.0);
Tailwind
colors: {
  custom: {
    50: '#965ea5',
    500: '#661480',
    950: '#000000',
  },
}
SCSS
$custom: #661480;
$custom-light: #965ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#661480",
  "rgb": {
    "r": 102,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 285.556,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38823,
    "c": 0.17141,
    "h": 316
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#661480
secondary
#58B53B
accent
#F03864
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #661480

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

Preview Lab → · Contrast checker → · Palette generator →

#661480 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva