#661C98#661C98

#661C98 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.186 H 306.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#661C98
RGBrgb(102, 28, 152)
HSLhsl(276, 69%, 35%)
HSVhsv(276, 82%, 60%)
CMYKcmyk(32.9%, 81.6%, 0%, 40.4%)
CIE-LABlab(29.22, 52.84, -52.52)
CIE-LCHlch(29.22, 74.50, 315.17°)
OKLaboklab(41.39% 0.1112 -0.1495)
OKLCHoklch(41.39% 0.186 306.6)
XYZxyz(11.5610, 5.9224, 30.2338)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C98 #4E981C
analogous
#281C98 #661C98 #981C8C
triadic
#661C98 #98661C #1C9866
tetradic
#661C98 #98281C #4E981C #1C8C98
square
#661C98 #98281C #4E981C #1C8C98
split-complementary
#661C98 #8C981C #1C9828
monochromatic
#210931 #431264 #661C98 #8926CC #A550DF

Accessibility & contrast

On white

9.61
#661C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#661C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C98
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C98#FFFFFF#000000##FFFFFF
##661C981.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661c98;
/* rgb */ color: rgb(102, 28, 152);
/* oklch */ color: oklch(41.4% 0.186 306.6);
Tailwind
colors: {
  custom: {
    50: '#9762b7',
    500: '#661c98',
    950: '#000000',
  },
}
SCSS
$custom: #661c98;
$custom-light: #9762b7;
$custom-dark: #000000;
JSON
{
  "hex": "#661c98",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 275.806,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.18635,
    "h": 306.6
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#661C98
secondary
#7DC14E
accent
#EC3C83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661C98

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

Preview Lab → · Contrast checker → · Palette generator →

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