#661E91#661E91

#661E91 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.178 H 308.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#661E91
RGBrgb(102, 30, 145)
HSLhsl(278, 66%, 34%)
HSVhsv(278, 79%, 57%)
CMYKcmyk(29.7%, 79.3%, 0%, 43.1%)
CIE-LABlab(28.90, 50.54, -48.74)
CIE-LCHlch(28.90, 70.21, 316.04°)
OKLaboklab(40.99% 0.1113 -0.1384)
OKLCHoklch(40.99% 0.178 308.8)
XYZxyz(11.0535, 5.7979, 27.3194)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E91 #49911E
analogous
#2D1E91 #661E91 #911E83
triadic
#661E91 #91661E #1E9166
tetradic
#661E91 #912D1E #49911E #1E8391
square
#661E91 #912D1E #49911E #1E8391
split-complementary
#661E91 #83911E #1E912D
monochromatic
#1F092C #42145E #661E91 #8A28C4 #A64FDB

Accessibility & contrast

On white

9.72
#661E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#661E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E91
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E91#FFFFFF#000000##FFFFFF
##661E911.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661e91;
/* rgb */ color: rgb(102, 30, 145);
/* oklch */ color: oklch(41.0% 0.178 308.8);
Tailwind
colors: {
  custom: {
    50: '#9663b2',
    500: '#661e91',
    950: '#000000',
  },
}
SCSS
$custom: #661e91;
$custom-light: #9663b2;
$custom-dark: #000000;
JSON
{
  "hex": "#661e91",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 277.565,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40988,
    "c": 0.17763,
    "h": 308.8
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#661E91
secondary
#77BD4D
accent
#E93F7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661E91

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

Preview Lab → · Contrast checker → · Palette generator →

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