#661C97#661C97

#661C97 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.185 H 307.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#661C97
RGBrgb(102, 28, 151)
HSLhsl(276, 69%, 35%)
HSVhsv(276, 81%, 59%)
CMYKcmyk(32.5%, 81.5%, 0%, 40.8%)
CIE-LABlab(29.13, 52.61, -52.04)
CIE-LCHlch(29.13, 74.00, 315.31°)
OKLaboklab(41.31% 0.1115 -0.1481)
OKLCHoklch(41.31% 0.185 307)
XYZxyz(11.4794, 5.8898, 29.8043)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C97 #4D971C
analogous
#291C97 #661C97 #971C8A
triadic
#661C97 #97661C #1C9766
tetradic
#661C97 #97291C #4D971C #1C8A97
square
#661C97 #97291C #4D971C #1C8A97
split-complementary
#661C97 #8A971C #1C9729
monochromatic
#200930 #431263 #661C97 #8926CB #A54FDE

Accessibility & contrast

On white

9.64
#661C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#661C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C97
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C97#FFFFFF#000000##FFFFFF
##661C971.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661c97;
/* rgb */ color: rgb(102, 28, 151);
/* oklch */ color: oklch(41.3% 0.185 307.0);
Tailwind
colors: {
  custom: {
    50: '#9762b6',
    500: '#661c97',
    950: '#000000',
  },
}
SCSS
$custom: #661c97;
$custom-light: #9762b6;
$custom-dark: #000000;
JSON
{
  "hex": "#661c97",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 276.098,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41305,
    "c": 0.18539,
    "h": 307
  },
  "luminance": 0.0589
}

Semantic roles & 50–950 ramp

primary
#661C97
secondary
#7CC14E
accent
#EC3C82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661C97

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

Preview Lab → · Contrast checker → · Palette generator →

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