#661E9A#661E9A

#661E9A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.186 H 305.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#661E9A
RGBrgb(102, 30, 154)
HSLhsl(275, 67%, 36%)
HSVhsv(275, 81%, 60%)
CMYKcmyk(33.8%, 80.5%, 0%, 39.6%)
CIE-LABlab(29.63, 52.58, -53.07)
CIE-LCHlch(29.63, 74.70, 314.73°)
OKLaboklab(41.73% 0.1091 -0.1511)
OKLCHoklch(41.73% 0.186 305.8)
XYZxyz(11.7752, 6.0865, 31.1201)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E9A #529A1E
analogous
#281E9A #661E9A #9A1E90
triadic
#661E9A #9A661E #1E9A66
tetradic
#661E9A #9A281E #529A1E #1E909A
square
#661E9A #9A281E #529A1E #1E909A
split-complementary
#661E9A #909A1E #1E9A28
monochromatic
#220A34 #441467 #661E9A #8828CD #A455DE

Accessibility & contrast

On white

9.47
#661E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#661E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E9A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E9A#FFFFFF#000000##FFFFFF
##661E9A1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#5C3F5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661e9a;
/* rgb */ color: rgb(102, 30, 154);
/* oklch */ color: oklch(41.7% 0.186 305.8);
Tailwind
colors: {
  custom: {
    50: '#9763b9',
    500: '#661e9a',
    950: '#000000',
  },
}
SCSS
$custom: #661e9a;
$custom-light: #9763b9;
$custom-dark: #000000;
JSON
{
  "hex": "#661e9a",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 274.839,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4173,
    "c": 0.1864,
    "h": 305.8
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#661E9A
secondary
#81C153
accent
#EA3E86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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