#661981#661981

#661981 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.168 H 315.3°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#661981
RGBrgb(102, 25, 129)
HSLhsl(284, 68%, 30%)
HSVhsv(284, 81%, 51%)
CMYKcmyk(20.9%, 80.6%, 0%, 49.4%)
CIE-LABlab(27.03, 48.88, -41.79)
CIE-LCHlch(27.03, 64.31, 319.47°)
OKLaboklab(39.29% 0.119 -0.1179)
OKLCHoklch(39.29% 0.168 315.3)
XYZxyz(9.7889, 5.1054, 21.2344)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661981 #348119
analogous
#321981 #661981 #811968
triadic
#661981 #816619 #198166
tetradic
#661981 #813219 #348119 #196881
square
#661981 #813219 #348119 #196881
split-complementary
#661981 #688119 #198132
monochromatic
#15051A #3D0F4E #661981 #8F23B4 #B03BD9

Accessibility & contrast

On white

10.39
#661981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661981
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661981#FFFFFF#000000##FFFFFF
##6619811.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#14427F
Tritanopia (blue-blind)
#64314D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661981;
/* rgb */ color: rgb(102, 25, 129);
/* oklch */ color: oklch(39.3% 0.168 315.3);
Tailwind
colors: {
  custom: {
    50: '#9660a6',
    500: '#661981',
    950: '#000000',
  },
}
SCSS
$custom: #661981;
$custom-light: #9660a6;
$custom-dark: #000000;
JSON
{
  "hex": "#661981",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 284.423,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3929,
    "c": 0.16758,
    "h": 315.3
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#661981
secondary
#5FB541
accent
#EA3D6A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #661981

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

Preview Lab → · Contrast checker → · Palette generator →

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