#661C9E#661C9E

#661C9E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.192 H 304.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#661C9E
RGBrgb(102, 28, 158)
HSLhsl(274, 70%, 36%)
HSVhsv(274, 82%, 62%)
CMYKcmyk(35.4%, 82.3%, 0%, 38%)
CIE-LABlab(29.72, 54.20, -55.36)
CIE-LCHlch(29.72, 77.47, 314.40°)
OKLaboklab(41.9% 0.1095 -0.1578)
OKLCHoklch(41.9% 0.192 304.8)
XYZxyz(12.0649, 6.1240, 32.8876)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C9E #549E1C
analogous
#251C9E #661C9E #9E1C95
triadic
#661C9E #9E661C #1C9E66
tetradic
#661C9E #9E251C #549E1C #1C959E
square
#661C9E #9E251C #549E1C #1C959E
split-complementary
#661C9E #959E1C #1C9E25
monochromatic
#230A36 #44136A #661C9E #8825D2 #A454E1

Accessibility & contrast

On white

9.44
#661C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661C9E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C9E#FFFFFF#000000##FFFFFF
##661C9E1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#5B405E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661c9e;
/* rgb */ color: rgb(102, 28, 158);
/* oklch */ color: oklch(41.9% 0.192 304.8);
Tailwind
colors: {
  custom: {
    50: '#9863bc',
    500: '#661c9e',
    950: '#000000',
  },
}
SCSS
$custom: #661c9e;
$custom-light: #9863bc;
$custom-dark: #000000;
JSON
{
  "hex": "#661c9e",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 274.154,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.419,
    "c": 0.19211,
    "h": 304.8
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#661C9E
secondary
#83C452
accent
#ED3B88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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