#661C94#661C94

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

Color values

HEX#661C94
RGBrgb(102, 28, 148)
HSLhsl(277, 68%, 35%)
HSVhsv(277, 81%, 58%)
CMYKcmyk(31.1%, 81.1%, 0%, 42%)
CIE-LABlab(28.89, 51.94, -50.60)
CIE-LCHlch(28.89, 72.52, 315.75°)
OKLaboklab(41.06% 0.1123 -0.1439)
OKLCHoklch(41.06% 0.183 308)
XYZxyz(11.2389, 5.7936, 28.5374)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C94 #4A941C
analogous
#2A1C94 #661C94 #941C86
triadic
#661C94 #94661C #1C9466
tetradic
#661C94 #942A1C #4A941C #1C8694
square
#661C94 #942A1C #4A941C #1C8694
split-complementary
#661C94 #86941C #1C942A
monochromatic
#1F092D #431261 #661C94 #8926C7 #A64DDD

Accessibility & contrast

On white

9.73
#661C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661C94
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C94#FFFFFF#000000##FFFFFF
##661C941.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#5E3B58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661c94;
/* rgb */ color: rgb(102, 28, 148);
/* oklch */ color: oklch(41.1% 0.183 308.0);
Tailwind
colors: {
  custom: {
    50: '#9762b4',
    500: '#661c94',
    950: '#000000',
  },
}
SCSS
$custom: #661c94;
$custom-light: #9762b4;
$custom-dark: #000000;
JSON
{
  "hex": "#661c94",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 277,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41056,
    "c": 0.18251,
    "h": 308
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#661C94
secondary
#78C04C
accent
#EB3D80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661C94

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

Preview Lab → · Contrast checker → · Palette generator →

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