#661A95#661A95

#661A95 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.185 H 307.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#661A95
RGBrgb(102, 26, 149)
HSLhsl(277, 70%, 34%)
HSVhsv(277, 83%, 58%)
CMYKcmyk(31.5%, 82.6%, 0%, 41.6%)
CIE-LABlab(28.73, 52.85, -51.47)
CIE-LCHlch(28.73, 73.78, 315.76°)
OKLaboklab(40.97% 0.1136 -0.1464)
OKLCHoklch(40.97% 0.185 307.8)
XYZxyz(11.2725, 5.7337, 28.9408)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A95 #49951A
analogous
#281A95 #661A95 #951A87
triadic
#661A95 #95661A #1A9566
tetradic
#661A95 #95281A #49951A #1A8795
square
#661A95 #95281A #49951A #1A8795
split-complementary
#661A95 #87951A #1A9528
monochromatic
#1F082D #421161 #661A95 #8A23C9 #A64ADF

Accessibility & contrast

On white

9.78
#661A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#661A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A95
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A95#FFFFFF#000000##FFFFFF
##661A951.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#5E3B59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661a95;
/* rgb */ color: rgb(102, 26, 149);
/* oklch */ color: oklch(41.0% 0.185 307.8);
Tailwind
colors: {
  custom: {
    50: '#9761b5',
    500: '#661a95',
    950: '#000000',
  },
}
SCSS
$custom: #661a95;
$custom-light: #9761b5;
$custom-dark: #000000;
JSON
{
  "hex": "#661a95",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 277.073,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40973,
    "c": 0.18531,
    "h": 307.8
  },
  "luminance": 0.05733
}

Semantic roles & 50–950 ramp

primary
#661A95
secondary
#77C14A
accent
#ED3B7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661A95

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

Preview Lab → · Contrast checker → · Palette generator →

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