#661E8D#661E8D

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

Color values

HEX#661E8D
RGBrgb(102, 30, 141)
HSLhsl(279, 65%, 34%)
HSVhsv(279, 79%, 55%)
CMYKcmyk(27.7%, 78.7%, 0%, 44.7%)
CIE-LABlab(28.58, 49.64, -46.77)
CIE-LCHlch(28.58, 68.21, 316.70°)
OKLaboklab(40.67% 0.1122 -0.1326)
OKLCHoklch(40.67% 0.174 310.2)
XYZxyz(10.7505, 5.6767, 25.7235)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E8D #458D1E
analogous
#2E1E8D #661E8D #8D1E7C
triadic
#661E8D #8D661E #1E8D66
tetradic
#661E8D #8D2E1E #458D1E #1E7C8D
square
#661E8D #8D2E1E #458D1E #1E7C8D
split-complementary
#661E8D #7C8D1E #1E8D2E
monochromatic
#1D0928 #41135B #661E8D #8B29BF #A84CD9

Accessibility & contrast

On white

9.84
#661E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661E8D
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E8D#FFFFFF#000000##FFFFFF
##661E8D1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#603955
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661e8d;
/* rgb */ color: rgb(102, 30, 141);
/* oklch */ color: oklch(40.7% 0.174 310.2);
Tailwind
colors: {
  custom: {
    50: '#9663af',
    500: '#661e8d',
    950: '#000000',
  },
}
SCSS
$custom: #661e8d;
$custom-light: #9663af;
$custom-dark: #000000;
JSON
{
  "hex": "#661e8d",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 278.919,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40668,
    "c": 0.17374,
    "h": 310.2
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#661E8D
secondary
#73BC4B
accent
#E8407B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #661E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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