#661C99#661C99

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

Color values

HEX#661C99
RGBrgb(102, 28, 153)
HSLhsl(276, 69%, 35%)
HSVhsv(276, 82%, 60%)
CMYKcmyk(33.3%, 81.7%, 0%, 40%)
CIE-LABlab(29.30, 53.07, -53.00)
CIE-LCHlch(29.30, 75.00, 315.04°)
OKLaboklab(41.47% 0.111 -0.1509)
OKLCHoklch(41.47% 0.187 306.3)
XYZxyz(11.6432, 5.9553, 30.6669)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C99 #4F991C
analogous
#271C99 #661C99 #991C8D
triadic
#661C99 #99661C #1C9966
tetradic
#661C99 #99271C #4F991C #1C8D99
square
#661C99 #99271C #4F991C #1C8D99
split-complementary
#661C99 #8D991C #1C9927
monochromatic
#210932 #441365 #661C99 #8825CD #A550DF

Accessibility & contrast

On white

9.58
#661C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#661C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C99
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C99#FFFFFF#000000##FFFFFF
##661C991.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661c99;
/* rgb */ color: rgb(102, 28, 153);
/* oklch */ color: oklch(41.5% 0.187 306.3);
Tailwind
colors: {
  custom: {
    50: '#9762b8',
    500: '#661c99',
    950: '#000000',
  },
}
SCSS
$custom: #661c99;
$custom-light: #9762b8;
$custom-dark: #000000;
JSON
{
  "hex": "#661c99",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 275.52,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41474,
    "c": 0.18731,
    "h": 306.3
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#661C99
secondary
#7EC24F
accent
#EC3C84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661C99

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

Preview Lab → · Contrast checker → · Palette generator →

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