#661F91#661F91

#661F91 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.177 H 308.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#661F91
RGBrgb(102, 31, 145)
HSLhsl(277, 65%, 35%)
HSVhsv(277, 79%, 57%)
CMYKcmyk(29.7%, 78.6%, 0%, 43.1%)
CIE-LABlab(29.03, 50.16, -48.52)
CIE-LCHlch(29.03, 69.78, 315.95°)
OKLaboklab(41.08% 0.1105 -0.1378)
OKLCHoklch(41.08% 0.177 308.7)
XYZxyz(11.0793, 5.8493, 27.3279)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F91 #4A911F
analogous
#2D1F91 #661F91 #911F83
triadic
#661F91 #91661F #1F9166
tetradic
#661F91 #912D1F #4A911F #1F8391
square
#661F91 #912D1F #4A911F #1F8391
split-complementary
#661F91 #83911F #1F912D
monochromatic
#1F092C #43145F #661F91 #892AC3 #A651DA

Accessibility & contrast

On white

9.68
#661F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661F91
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F91#FFFFFF#000000##FFFFFF
##661F911.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661f91;
/* rgb */ color: rgb(102, 31, 145);
/* oklch */ color: oklch(41.1% 0.177 308.7);
Tailwind
colors: {
  custom: {
    50: '#9663b2',
    500: '#661f91',
    950: '#000000',
  },
}
SCSS
$custom: #661f91;
$custom-light: #9663b2;
$custom-dark: #000000;
JSON
{
  "hex": "#661f91",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 277.368,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41081,
    "c": 0.17659,
    "h": 308.7
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#661F91
secondary
#78BD4F
accent
#E8407F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661F91

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

Preview Lab → · Contrast checker → · Palette generator →

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