#661E8A#661E8A

#661E8A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.171 H 311.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#661E8A
RGBrgb(102, 30, 138)
HSLhsl(280, 64%, 33%)
HSVhsv(280, 78%, 54%)
CMYKcmyk(26.1%, 78.3%, 0%, 45.9%)
CIE-LABlab(28.35, 48.98, -45.29)
CIE-LCHlch(28.35, 66.71, 317.24°)
OKLaboklab(40.43% 0.1128 -0.1283)
OKLCHoklch(40.43% 0.171 311.3)
XYZxyz(10.5303, 5.5886, 24.5638)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E8A #428A1E
analogous
#301E8A #661E8A #8A1E78
triadic
#661E8A #8A661E #1E8A66
tetradic
#661E8A #8A301E #428A1E #1E788A
square
#661E8A #8A301E #428A1E #1E788A
split-complementary
#661E8A #788A1E #1E8A30
monochromatic
#1C0825 #411358 #661E8A #8B29BC #A94BD8

Accessibility & contrast

On white

9.92
#661E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#661E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E8A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E8A#FFFFFF#000000##FFFFFF
##661E8A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#074488
Tritanopia (blue-blind)
#613853
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661e8a;
/* rgb */ color: rgb(102, 30, 138);
/* oklch */ color: oklch(40.4% 0.171 311.3);
Tailwind
colors: {
  custom: {
    50: '#9662ad',
    500: '#661e8a',
    950: '#000000',
  },
}
SCSS
$custom: #661e8a;
$custom-light: #9662ad;
$custom-dark: #000000;
JSON
{
  "hex": "#661e8a",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 280,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40432,
    "c": 0.17083,
    "h": 311.3
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#661E8A
secondary
#6FBA4A
accent
#E74178
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #661E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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