#661F85#661F85

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

Color values

HEX#661F85
RGBrgb(102, 31, 133)
HSLhsl(282, 62%, 32%)
HSVhsv(282, 77%, 52%)
CMYKcmyk(23.3%, 76.7%, 0%, 47.8%)
CIE-LABlab(28.11, 47.49, -42.56)
CIE-LCHlch(28.11, 63.77, 318.14°)
OKLaboklab(40.14% 0.1128 -0.1202)
OKLCHoklch(40.14% 0.165 313.2)
XYZxyz(10.2024, 5.4985, 22.7096)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F85 #3E851F
analogous
#331F85 #661F85 #851F71
triadic
#661F85 #85661F #1F8566
tetradic
#661F85 #85331F #3E851F #1F7185
square
#661F85 #85331F #3E851F #1F7185
split-complementary
#661F85 #71851F #1F8533
monochromatic
#1A0822 #401353 #661F85 #8C2BB7 #AA4AD5

Accessibility & contrast

On white

10.00
#661F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#661F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F85
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F85#FFFFFF#000000##FFFFFF
##661F851.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#144483
Tritanopia (blue-blind)
#633651
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661f85;
/* rgb */ color: rgb(102, 31, 133);
/* oklch */ color: oklch(40.1% 0.165 313.2);
Tailwind
colors: {
  custom: {
    50: '#9563a9',
    500: '#661f85',
    950: '#000000',
  },
}
SCSS
$custom: #661f85;
$custom-light: #9563a9;
$custom-dark: #000000;
JSON
{
  "hex": "#661f85",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 281.765,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40144,
    "c": 0.16485,
    "h": 313.2
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#661F85
secondary
#6AB749
accent
#E54374
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #661F85

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

Preview Lab → · Contrast checker → · Palette generator →

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