#661E97#661E97

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

Color values

HEX#661E97
RGBrgb(102, 30, 151)
HSLhsl(276, 67%, 35%)
HSVhsv(276, 80%, 59%)
CMYKcmyk(32.5%, 80.1%, 0%, 40.8%)
CIE-LABlab(29.38, 51.89, -51.64)
CIE-LCHlch(29.38, 73.21, 315.14°)
OKLaboklab(41.48% 0.1099 -0.1469)
OKLCHoklch(41.48% 0.183 306.8)
XYZxyz(11.5285, 5.9878, 29.8206)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E97 #4F971E
analogous
#291E97 #661E97 #971E8C
triadic
#661E97 #97661E #1E9766
tetradic
#661E97 #97291E #4F971E #1E8C97
square
#661E97 #97291E #4F971E #1E8C97
split-complementary
#661E97 #8C971E #1E9729
monochromatic
#210A31 #441464 #661E97 #8828CA #A553DD

Accessibility & contrast

On white

9.56
#661E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661E97
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E97#FFFFFF#000000##FFFFFF
##661E971.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#5D3D5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661e97;
/* rgb */ color: rgb(102, 30, 151);
/* oklch */ color: oklch(41.5% 0.183 306.8);
Tailwind
colors: {
  custom: {
    50: '#9763b6',
    500: '#661e97',
    950: '#000000',
  },
}
SCSS
$custom: #661e97;
$custom-light: #9763b6;
$custom-dark: #000000;
JSON
{
  "hex": "#661e97",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 275.702,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41479,
    "c": 0.18347,
    "h": 306.8
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#661E97
secondary
#7EC051
accent
#EA3E84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661E97

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

Preview Lab → · Contrast checker → · Palette generator →

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