#661D95#661D95

#661D95 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.183 H 307.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#661D95
RGBrgb(102, 29, 149)
HSLhsl(277, 67%, 35%)
HSVhsv(277, 81%, 58%)
CMYKcmyk(31.5%, 80.5%, 0%, 41.6%)
CIE-LABlab(29.09, 51.81, -50.88)
CIE-LCHlch(29.09, 72.61, 315.52°)
OKLaboklab(41.23% 0.1112 -0.1447)
OKLCHoklch(41.23% 0.183 307.5)
XYZxyz(11.3425, 5.8736, 28.9641)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D95 #4C951D
analogous
#2A1D95 #661D95 #951D88
triadic
#661D95 #95661D #1D9566
tetradic
#661D95 #952A1D #4C951D #1D8895
square
#661D95 #952A1D #4C951D #1D8895
split-complementary
#661D95 #88951D #1D952A
monochromatic
#20092F #431362 #661D95 #8927C8 #A650DD

Accessibility & contrast

On white

9.66
#661D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#661D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D95
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D95#FFFFFF#000000##FFFFFF
##661D951.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#5E3C59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661d95;
/* rgb */ color: rgb(102, 29, 149);
/* oklch */ color: oklch(41.2% 0.183 307.5);
Tailwind
colors: {
  custom: {
    50: '#9763b5',
    500: '#661d95',
    950: '#000000',
  },
}
SCSS
$custom: #661d95;
$custom-light: #9763b5;
$custom-dark: #000000;
JSON
{
  "hex": "#661d95",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 276.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41225,
    "c": 0.18251,
    "h": 307.5
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#661D95
secondary
#7BC04E
accent
#EA3D81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661D95

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

Preview Lab → · Contrast checker → · Palette generator →

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