#661D94#661D94

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

Color values

HEX#661D94
RGBrgb(102, 29, 148)
HSLhsl(277, 67%, 35%)
HSVhsv(277, 80%, 58%)
CMYKcmyk(31.1%, 80.4%, 0%, 42%)
CIE-LABlab(29.01, 51.58, -50.40)
CIE-LCHlch(29.01, 72.12, 315.66°)
OKLaboklab(41.14% 0.1115 -0.1433)
OKLCHoklch(41.14% 0.182 307.9)
XYZxyz(11.2630, 5.8418, 28.5455)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D94 #4B941D
analogous
#2B1D94 #661D94 #941D87
triadic
#661D94 #94661D #1D9466
tetradic
#661D94 #942B1D #4B941D #1D8794
square
#661D94 #942B1D #4B941D #1D8794
split-complementary
#661D94 #87941D #1D942B
monochromatic
#1F092E #431361 #661D94 #8927C7 #A64FDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##661D94#FFFFFF#000000##FFFFFF
##661D941.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)
#004297
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#5E3C59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661d94;
/* rgb */ color: rgb(102, 29, 148);
/* oklch */ color: oklch(41.1% 0.182 307.9);
Tailwind
colors: {
  custom: {
    50: '#9763b4',
    500: '#661d94',
    950: '#000000',
  },
}
SCSS
$custom: #661d94;
$custom-light: #9763b4;
$custom-dark: #000000;
JSON
{
  "hex": "#661d94",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 276.807,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41143,
    "c": 0.18154,
    "h": 307.9
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#661D94
secondary
#7ABF4E
accent
#EA3E80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661D94

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

Preview Lab → · Contrast checker → · Palette generator →

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