#661A97#661A97

#661A97 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.187 H 307.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#661A97
RGBrgb(102, 26, 151)
HSLhsl(276, 71%, 35%)
HSVhsv(276, 83%, 59%)
CMYKcmyk(32.5%, 82.8%, 0%, 40.8%)
CIE-LABlab(28.90, 53.30, -52.43)
CIE-LCHlch(28.90, 74.76, 315.47°)
OKLaboklab(41.14% 0.113 -0.1492)
OKLCHoklch(41.14% 0.187 307.1)
XYZxyz(11.4336, 5.7981, 29.7890)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A97 #4B971A
analogous
#281A97 #661A97 #971A8A
triadic
#661A97 #97661A #1A9766
tetradic
#661A97 #97281A #4B971A #1A8A97
square
#661A97 #97281A #4B971A #1A8A97
split-complementary
#661A97 #8A971A #1A9728
monochromatic
#1F082F #431163 #661A97 #8923CB #A64BE0

Accessibility & contrast

On white

9.72
#661A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#661A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A97
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A97#FFFFFF#000000##FFFFFF
##661A971.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#5E3C5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661a97;
/* rgb */ color: rgb(102, 26, 151);
/* oklch */ color: oklch(41.1% 0.187 307.1);
Tailwind
colors: {
  custom: {
    50: '#9761b6',
    500: '#661a97',
    950: '#000000',
  },
}
SCSS
$custom: #661a97;
$custom-light: #9761b6;
$custom-dark: #000000;
JSON
{
  "hex": "#661a97",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 276.48,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41141,
    "c": 0.1872,
    "h": 307.1
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#661A97
secondary
#7AC24B
accent
#ED3A81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661A97

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

Preview Lab → · Contrast checker → · Palette generator →

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