#661C9F#661C9F

#661C9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.193 H 304.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#661C9F
RGBrgb(102, 28, 159)
HSLhsl(274, 70%, 37%)
HSVhsv(274, 82%, 62%)
CMYKcmyk(35.8%, 82.4%, 0%, 37.6%)
CIE-LABlab(29.81, 54.43, -55.83)
CIE-LCHlch(29.81, 77.97, 314.28°)
OKLaboklab(41.99% 0.1092 -0.1592)
OKLCHoklch(41.99% 0.193 304.4)
XYZxyz(12.1513, 6.1585, 33.3427)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C9F #559F1C
analogous
#251C9F #661C9F #9F1C97
triadic
#661C9F #9F661C #1C9F66
tetradic
#661C9F #9F251C #559F1C #1C979F
square
#661C9F #9F251C #559F1C #1C979F
split-complementary
#661C9F #979F1C #1C9F25
monochromatic
#230A37 #45136B #661C9F #8725D3 #A454E1

Accessibility & contrast

On white

9.41
#661C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#661C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C9F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C9F#FFFFFF#000000##FFFFFF
##661C9F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5B405F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661c9f;
/* rgb */ color: rgb(102, 28, 159);
/* oklch */ color: oklch(42.0% 0.193 304.4);
Tailwind
colors: {
  custom: {
    50: '#9863bc',
    500: '#661c9f',
    950: '#000000',
  },
}
SCSS
$custom: #661c9f;
$custom-light: #9863bc;
$custom-dark: #000000;
JSON
{
  "hex": "#661c9f",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 273.893,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41986,
    "c": 0.19308,
    "h": 304.4
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

primary
#661C9F
secondary
#84C453
accent
#ED3B88
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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