#661980#661980

#661980 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.167 H 315.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#661980
RGBrgb(102, 25, 128)
HSLhsl(285, 67%, 30%)
HSVhsv(285, 80%, 50%)
CMYKcmyk(20.3%, 80.5%, 0%, 49.8%)
CIE-LABlab(26.96, 48.68, -41.28)
CIE-LCHlch(26.96, 63.82, 319.70°)
OKLaboklab(39.21% 0.1192 -0.1165)
OKLCHoklch(39.21% 0.167 315.7)
XYZxyz(9.7228, 5.0789, 20.8861)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661980 #338019
analogous
#321980 #661980 #801967
triadic
#661980 #806619 #198066
tetradic
#661980 #803219 #338019 #196780
square
#661980 #803219 #338019 #196780
split-complementary
#661980 #678019 #198032
monochromatic
#14051A #3D0F4D #661980 #8F23B3 #B13BD9

Accessibility & contrast

On white

10.42
#661980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#661980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661980
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661980#FFFFFF#000000##FFFFFF
##6619801.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#16427E
Tritanopia (blue-blind)
#64314C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661980;
/* rgb */ color: rgb(102, 25, 128);
/* oklch */ color: oklch(39.2% 0.167 315.7);
Tailwind
colors: {
  custom: {
    50: '#9560a5',
    500: '#661980',
    950: '#000000',
  },
}
SCSS
$custom: #661980;
$custom-light: #9560a5;
$custom-dark: #000000;
JSON
{
  "hex": "#661980",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 284.854,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.39214,
    "c": 0.16666,
    "h": 315.7
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

primary
#661980
secondary
#5EB441
accent
#EA3E69
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #661980

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

Preview Lab → · Contrast checker → · Palette generator →

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