#661C91#661C91

#661C91 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.180 H 309.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#661C91
RGBrgb(102, 28, 145)
HSLhsl(278, 68%, 34%)
HSVhsv(278, 81%, 57%)
CMYKcmyk(29.7%, 80.7%, 0%, 43.1%)
CIE-LABlab(28.64, 51.27, -49.15)
CIE-LCHlch(28.64, 71.03, 316.21°)
OKLaboklab(40.81% 0.1131 -0.1396)
OKLCHoklch(40.81% 0.18 309)
XYZxyz(11.0045, 5.6998, 27.3030)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C91 #47911C
analogous
#2C1C91 #661C91 #911C82
triadic
#661C91 #91661C #1C9166
tetradic
#661C91 #912C1C #47911C #1C8291
square
#661C91 #912C1C #47911C #1C8291
split-complementary
#661C91 #82911C #1C912C
monochromatic
#1E082A #42125E #661C91 #8A26C4 #A74BDC

Accessibility & contrast

On white

9.81
#661C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#661C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C91
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C91#FFFFFF#000000##FFFFFF
##661C911.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#5F3A57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661c91;
/* rgb */ color: rgb(102, 28, 145);
/* oklch */ color: oklch(40.8% 0.180 309.0);
Tailwind
colors: {
  custom: {
    50: '#9662b2',
    500: '#661c91',
    950: '#000000',
  },
}
SCSS
$custom: #661c91;
$custom-light: #9662b2;
$custom-dark: #000000;
JSON
{
  "hex": "#661c91",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 277.949,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4081,
    "c": 0.17964,
    "h": 309
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#661C91
secondary
#75BE4A
accent
#EB3D7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661C91

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

Preview Lab → · Contrast checker → · Palette generator →

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