#661A7D#661A7D

#661A7D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.163 H 316.9°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#661A7D
RGBrgb(102, 26, 125)
HSLhsl(286, 66%, 30%)
HSVhsv(286, 79%, 49%)
CMYKcmyk(18.4%, 79.2%, 0%, 51%)
CIE-LABlab(26.86, 47.70, -39.54)
CIE-LCHlch(26.86, 61.96, 320.34°)
OKLaboklab(39.08% 0.1188 -0.1114)
OKLCHoklch(39.08% 0.163 316.9)
XYZxyz(9.5500, 5.0446, 19.8687)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A7D #317D1A
analogous
#351A7D #661A7D #7D1A62
triadic
#661A7D #7D661A #1A7D66
tetradic
#661A7D #7D351A #317D1A #1A627D
square
#661A7D #7D351A #317D1A #1A627D
split-complementary
#661A7D #627D1A #1A7D35
monochromatic
#150519 #3D0F4A #661A7D #8F25B0 #B23BD6

Accessibility & contrast

On white

10.45
#661A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#661A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A7D
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A7D#FFFFFF#000000##FFFFFF
##661A7D1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#1B427B
Tritanopia (blue-blind)
#65304B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661a7d;
/* rgb */ color: rgb(102, 26, 125);
/* oklch */ color: oklch(39.1% 0.163 316.9);
Tailwind
colors: {
  custom: {
    50: '#9560a3',
    500: '#661a7d',
    950: '#000000',
  },
}
SCSS
$custom: #661a7d;
$custom-light: #9560a3;
$custom-dark: #000000;
JSON
{
  "hex": "#661a7d",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 286.061,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39076,
    "c": 0.16285,
    "h": 316.9
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#661A7D
secondary
#5CB142
accent
#E93F67
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #661A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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