#661C9D#661C9D

#661C9D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.191 H 305.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#661C9D
RGBrgb(102, 28, 157)
HSLhsl(274, 70%, 36%)
HSVhsv(274, 82%, 62%)
CMYKcmyk(35%, 82.2%, 0%, 38.4%)
CIE-LABlab(29.64, 53.97, -54.89)
CIE-LCHlch(29.64, 76.98, 314.52°)
OKLaboklab(41.81% 0.1098 -0.1565)
OKLCHoklch(41.81% 0.191 305.1)
XYZxyz(11.9792, 6.0897, 32.4361)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C9D #539D1C
analogous
#261C9D #661C9D #9D1C94
triadic
#661C9D #9D661C #1C9D66
tetradic
#661C9D #9D261C #539D1C #1C949D
square
#661C9D #9D261C #539D1C #1C949D
split-complementary
#661C9D #949D1C #1C9D26
monochromatic
#230935 #441369 #661C9D #8825D1 #A453E0

Accessibility & contrast

On white

9.47
#661C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#661C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C9D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C9D#FFFFFF#000000##FFFFFF
##661C9D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#5B3F5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661c9d;
/* rgb */ color: rgb(102, 28, 157);
/* oklch */ color: oklch(41.8% 0.191 305.1);
Tailwind
colors: {
  custom: {
    50: '#9763bb',
    500: '#661c9d',
    950: '#000000',
  },
}
SCSS
$custom: #661c9d;
$custom-light: #9763bb;
$custom-dark: #000000;
JSON
{
  "hex": "#661c9d",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 274.419,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41814,
    "c": 0.19116,
    "h": 305.1
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#661C9D
secondary
#82C351
accent
#ED3B87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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