#661F84#661F84

#661F84 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.164 H 313.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#661F84
RGBrgb(102, 31, 132)
HSLhsl(282, 62%, 32%)
HSVhsv(282, 77%, 52%)
CMYKcmyk(22.7%, 76.5%, 0%, 48.2%)
CIE-LABlab(28.04, 47.28, -42.05)
CIE-LCHlch(28.04, 63.27, 318.35°)
OKLaboklab(40.07% 0.1129 -0.1188)
OKLCHoklch(40.07% 0.164 313.6)
XYZxyz(10.1336, 5.4710, 22.3475)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F84 #3D841F
analogous
#341F84 #661F84 #841F70
triadic
#661F84 #84661F #1F8466
tetradic
#661F84 #84341F #3D841F #1F7084
square
#661F84 #84341F #3D841F #1F7084
split-complementary
#661F84 #70841F #1F8434
monochromatic
#190821 #401352 #661F84 #8C2BB6 #AB49D4

Accessibility & contrast

On white

10.03
#661F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#661F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F84
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F84#FFFFFF#000000##FFFFFF
##661F841.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#164482
Tritanopia (blue-blind)
#633650
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661f84;
/* rgb */ color: rgb(102, 31, 132);
/* oklch */ color: oklch(40.1% 0.164 313.6);
Tailwind
colors: {
  custom: {
    50: '#9563a8',
    500: '#661f84',
    950: '#000000',
  },
}
SCSS
$custom: #661f84;
$custom-light: #9563a8;
$custom-dark: #000000;
JSON
{
  "hex": "#661f84",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 282.178,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40069,
    "c": 0.16388,
    "h": 313.6
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#661F84
secondary
#69B748
accent
#E54373
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #661F84

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

Preview Lab → · Contrast checker → · Palette generator →

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