#661E6C#661E6C

#661E6C is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.142 H 324.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#661E6C
RGBrgb(102, 30, 108)
HSLhsl(295, 57%, 27%)
HSVhsv(295, 72%, 42%)
CMYKcmyk(5.6%, 72.2%, 0%, 57.6%)
CIE-LABlab(26.26, 42.73, -29.64)
CIE-LCHlch(26.26, 52.01, 325.25°)
OKLaboklab(38.29% 0.116 -0.0824)
OKLCHoklch(38.29% 0.142 324.6)
XYZxyz(8.6503, 4.8366, 14.6624)
Luminance0.0484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E6C #246C1E
analogous
#3F1E6C #661E6C #6C1E4B
triadic
#661E6C #6C661E #1E6C66
tetradic
#661E6C #6C3F1E #246C1E #1E4B6C
square
#661E6C #6C3F1E #246C1E #1E4B6C
split-complementary
#661E6C #4B6C1E #1E6C3F
monochromatic
#170718 #39113C #661E6C #932B9C #BE3CC9

Accessibility & contrast

On white

10.68
#661E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#661E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E6C
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E6C#FFFFFF#000000##FFFFFF
##661E6C1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A396E
Deuteranopia (green-blind)
#2D416A
Tritanopia (blue-blind)
#682B42
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661e6c;
/* rgb */ color: rgb(102, 30, 108);
/* oklch */ color: oklch(38.3% 0.142 324.6);
Tailwind
colors: {
  custom: {
    50: '#946196',
    500: '#661e6c',
    950: '#000000',
  },
}
SCSS
$custom: #661e6c;
$custom-light: #946196;
$custom-dark: #000000;
JSON
{
  "hex": "#661e6c",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 108
  },
  "hsl": {
    "h": 295.385,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38285,
    "c": 0.14235,
    "h": 324.6
  },
  "luminance": 0.04836
}

Semantic roles & 50–950 ramp

primary
#661E6C
secondary
#4CA045
accent
#E04854
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050D
muted
#7E7A7E

Preview Lab

Preview with #661E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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