#661E8E#661E8E

#661E8E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.175 H 309.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#661E8E
RGBrgb(102, 30, 142)
HSLhsl(279, 65%, 34%)
HSVhsv(279, 79%, 56%)
CMYKcmyk(28.2%, 78.9%, 0%, 44.3%)
CIE-LABlab(28.66, 49.87, -47.27)
CIE-LCHlch(28.66, 68.71, 316.53°)
OKLaboklab(40.75% 0.112 -0.1341)
OKLCHoklch(40.75% 0.175 309.9)
XYZxyz(10.8253, 5.7066, 26.1171)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E8E #468E1E
analogous
#2E1E8E #661E8E #8E1E7E
triadic
#661E8E #8E661E #1E8E66
tetradic
#661E8E #8E2E1E #468E1E #1E7E8E
square
#661E8E #8E2E1E #468E1E #1E7E8E
split-complementary
#661E8E #7E8E1E #1E8E2E
monochromatic
#1D0929 #42135B #661E8E #8A29C1 #A74DD9

Accessibility & contrast

On white

9.81
#661E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#661E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E8E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E8E#FFFFFF#000000##FFFFFF
##661E8E1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#603955
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661e8e;
/* rgb */ color: rgb(102, 30, 142);
/* oklch */ color: oklch(40.7% 0.175 309.9);
Tailwind
colors: {
  custom: {
    50: '#9663b0',
    500: '#661e8e',
    950: '#000000',
  },
}
SCSS
$custom: #661e8e;
$custom-light: #9663b0;
$custom-dark: #000000;
JSON
{
  "hex": "#661e8e",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 278.571,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40747,
    "c": 0.17471,
    "h": 309.9
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#661E8E
secondary
#74BC4C
accent
#E8407C
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #661E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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