#661F96#661F96

#661F96 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.181 H 307.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#661F96
RGBrgb(102, 31, 150)
HSLhsl(276, 66%, 35%)
HSVhsv(276, 79%, 59%)
CMYKcmyk(32%, 79.3%, 0%, 41.2%)
CIE-LABlab(29.43, 51.29, -50.95)
CIE-LCHlch(29.43, 72.29, 315.19°)
OKLaboklab(41.49% 0.1093 -0.1449)
OKLCHoklch(41.49% 0.182 307)
XYZxyz(11.4733, 6.0069, 29.4033)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F96 #4F961F
analogous
#2A1F96 #661F96 #961F8A
triadic
#661F96 #96661F #1F9666
tetradic
#661F96 #962A1F #4F961F #1F8A96
square
#661F96 #962A1F #4F961F #1F8A96
split-complementary
#661F96 #8A961F #1F962A
monochromatic
#210A31 #441563 #661F96 #8829C9 #A554DC

Accessibility & contrast

On white

9.54
#661F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#661F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F96
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F96#FFFFFF#000000##FFFFFF
##661F961.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#5E3D5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661f96;
/* rgb */ color: rgb(102, 31, 150);
/* oklch */ color: oklch(41.5% 0.181 307.0);
Tailwind
colors: {
  custom: {
    50: '#9763b6',
    500: '#661f96',
    950: '#000000',
  },
}
SCSS
$custom: #661f96;
$custom-light: #9763b6;
$custom-dark: #000000;
JSON
{
  "hex": "#661f96",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 275.798,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41488,
    "c": 0.1815,
    "h": 307
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#661F96
secondary
#7EBF52
accent
#E93F84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661F96

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

Preview Lab → · Contrast checker → · Palette generator →

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