#661D91#661D91

#661D91 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.179 H 308.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#661D91
RGBrgb(102, 29, 145)
HSLhsl(278, 67%, 34%)
HSVhsv(278, 80%, 57%)
CMYKcmyk(29.7%, 80%, 0%, 43.1%)
CIE-LABlab(28.77, 50.91, -48.95)
CIE-LCHlch(28.77, 70.62, 316.13°)
OKLaboklab(40.9% 0.1122 -0.139)
OKLCHoklch(40.9% 0.179 308.9)
XYZxyz(11.0286, 5.7480, 27.3111)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D91 #48911D
analogous
#2C1D91 #661D91 #911D82
triadic
#661D91 #91661D #1D9166
tetradic
#661D91 #912C1D #48911D #1D8291
square
#661D91 #912C1D #48911D #1D8291
split-complementary
#661D91 #82911D #1D912C
monochromatic
#1E092B #42135E #661D91 #8A27C4 #A74DDB

Accessibility & contrast

On white

9.77
#661D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#661D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D91
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D91#FFFFFF#000000##FFFFFF
##661D911.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661d91;
/* rgb */ color: rgb(102, 29, 145);
/* oklch */ color: oklch(40.9% 0.179 308.9);
Tailwind
colors: {
  custom: {
    50: '#9662b2',
    500: '#661d91',
    950: '#000000',
  },
}
SCSS
$custom: #661d91;
$custom-light: #9662b2;
$custom-dark: #000000;
JSON
{
  "hex": "#661d91",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 277.759,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40898,
    "c": 0.17864,
    "h": 308.9
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#661D91
secondary
#76BE4C
accent
#EA3E7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661D91

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

Preview Lab → · Contrast checker → · Palette generator →

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