#661E7C#661E7C

#661E7C is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.157 H 317.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#661E7C
RGBrgb(102, 30, 124)
HSLhsl(286, 61%, 30%)
HSVhsv(286, 76%, 49%)
CMYKcmyk(17.7%, 75.8%, 0%, 51.4%)
CIE-LABlab(27.32, 45.97, -38.17)
CIE-LCHlch(27.32, 59.75, 320.30°)
OKLaboklab(39.38% 0.115 -0.1074)
OKLCHoklch(39.38% 0.157 317)
XYZxyz(9.5813, 5.2090, 19.5656)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E7C #347C1E
analogous
#371E7C #661E7C #7C1E63
triadic
#661E7C #7C661E #1E7C66
tetradic
#661E7C #7C371E #347C1E #1E637C
square
#661E7C #7C371E #347C1E #1E637C
split-complementary
#661E7C #637C1E #1E7C37
monochromatic
#150619 #3D124B #661E7C #8F2AAD #B043D1

Accessibility & contrast

On white

10.29
#661E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#661E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E7C
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E7C#FFFFFF#000000##FFFFFF
##661E7C1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#1F437A
Tritanopia (blue-blind)
#65324B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661e7c;
/* rgb */ color: rgb(102, 30, 124);
/* oklch */ color: oklch(39.4% 0.157 317.0);
Tailwind
colors: {
  custom: {
    50: '#9562a2',
    500: '#661e7c',
    950: '#000000',
  },
}
SCSS
$custom: #661e7c;
$custom-light: #9562a2;
$custom-dark: #000000;
JSON
{
  "hex": "#661e7c",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 285.957,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39379,
    "c": 0.15735,
    "h": 317
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#661E7C
secondary
#5FAF46
accent
#E44469
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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