#661D99#661D99

#661D99 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.186 H 306.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#661D99
RGBrgb(102, 29, 153)
HSLhsl(275, 68%, 36%)
HSVhsv(275, 81%, 60%)
CMYKcmyk(33.3%, 81%, 0%, 40%)
CIE-LABlab(29.42, 52.71, -52.80)
CIE-LCHlch(29.42, 74.61, 314.95°)
OKLaboklab(41.56% 0.1102 -0.1503)
OKLCHoklch(41.56% 0.186 306.2)
XYZxyz(11.6674, 6.0035, 30.6750)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D99 #50991D
analogous
#281D99 #661D99 #991D8E
triadic
#661D99 #99661D #1D9966
tetradic
#661D99 #99281D #50991D #1D8E99
square
#661D99 #99281D #50991D #1D8E99
split-complementary
#661D99 #8E991D #1D9928
monochromatic
#210932 #441366 #661D99 #8827CC #A552DE

Accessibility & contrast

On white

9.54
#661D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661D99
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D99#FFFFFF#000000##FFFFFF
##661D991.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661d99;
/* rgb */ color: rgb(102, 29, 153);
/* oklch */ color: oklch(41.6% 0.186 306.2);
Tailwind
colors: {
  custom: {
    50: '#9763b8',
    500: '#661d99',
    950: '#000000',
  },
}
SCSS
$custom: #661d99;
$custom-light: #9763b8;
$custom-dark: #000000;
JSON
{
  "hex": "#661d99",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 275.323,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.18638,
    "h": 306.2
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#661D99
secondary
#7FC151
accent
#EB3D84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661D99

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

Preview Lab → · Contrast checker → · Palette generator →

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