#661B95#661B95

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

Color values

HEX#661B95
RGBrgb(102, 27, 149)
HSLhsl(277, 69%, 35%)
HSVhsv(277, 82%, 58%)
CMYKcmyk(31.5%, 81.9%, 0%, 41.6%)
CIE-LABlab(28.85, 52.52, -51.28)
CIE-LCHlch(28.85, 73.40, 315.68°)
OKLaboklab(41.06% 0.1128 -0.1459)
OKLCHoklch(41.06% 0.184 307.7)
XYZxyz(11.2951, 5.7787, 28.9483)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B95 #4A951B
analogous
#291B95 #661B95 #951B87
triadic
#661B95 #95661B #1B9566
tetradic
#661B95 #95291B #4A951B #1B8795
square
#661B95 #95291B #4A951B #1B8795
split-complementary
#661B95 #87951B #1B9529
monochromatic
#1F082D #431261 #661B95 #8924C9 #A64CDF

Accessibility & contrast

On white

9.74
#661B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661B95
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B95#FFFFFF#000000##FFFFFF
##661B951.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661b95;
/* rgb */ color: rgb(102, 27, 149);
/* oklch */ color: oklch(41.1% 0.184 307.7);
Tailwind
colors: {
  custom: {
    50: '#9762b5',
    500: '#661b95',
    950: '#000000',
  },
}
SCSS
$custom: #661b95;
$custom-light: #9762b5;
$custom-dark: #000000;
JSON
{
  "hex": "#661b95",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 276.885,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41055,
    "c": 0.18441,
    "h": 307.7
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#661B95
secondary
#78C14B
accent
#EC3C80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661B95

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

Preview Lab → · Contrast checker → · Palette generator →

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