#661E88#661E88

#661E88 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.169 H 312.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#661E88
RGBrgb(102, 30, 136)
HSLhsl(281, 64%, 33%)
HSVhsv(281, 78%, 53%)
CMYKcmyk(25%, 77.9%, 0%, 46.7%)
CIE-LABlab(28.20, 48.54, -44.29)
CIE-LCHlch(28.20, 65.71, 317.62°)
OKLaboklab(40.28% 0.1132 -0.1253)
OKLCHoklch(40.28% 0.169 312.1)
XYZxyz(10.3869, 5.5312, 23.8082)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E88 #40881E
analogous
#311E88 #661E88 #881E75
triadic
#661E88 #88661E #1E8866
tetradic
#661E88 #88311E #40881E #1E7588
square
#661E88 #88311E #40881E #1E7588
split-complementary
#661E88 #75881E #1E8831
monochromatic
#1B0824 #401356 #661E88 #8C29BA #AA49D7

Accessibility & contrast

On white

9.97
#661E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#661E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E88
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E88#FFFFFF#000000##FFFFFF
##661E881.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#0D4486
Tritanopia (blue-blind)
#623752
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661e88;
/* rgb */ color: rgb(102, 30, 136);
/* oklch */ color: oklch(40.3% 0.169 312.1);
Tailwind
colors: {
  custom: {
    50: '#9662ab',
    500: '#661e88',
    950: '#000000',
  },
}
SCSS
$custom: #661e88;
$custom-light: #9662ab;
$custom-dark: #000000;
JSON
{
  "hex": "#661e88",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 280.755,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40277,
    "c": 0.16889,
    "h": 312.1
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#661E88
secondary
#6DB949
accent
#E74176
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #661E88

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

Preview Lab → · Contrast checker → · Palette generator →

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