#661B9E#661B9E

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

Color values

HEX#661B9E
RGBrgb(102, 27, 158)
HSLhsl(274, 71%, 36%)
HSVhsv(274, 83%, 62%)
CMYKcmyk(35.4%, 82.9%, 0%, 38%)
CIE-LABlab(29.61, 54.54, -55.55)
CIE-LCHlch(29.61, 77.85, 314.48°)
OKLaboklab(41.82% 0.1103 -0.1584)
OKLCHoklch(41.82% 0.193 304.8)
XYZxyz(12.0416, 6.0773, 32.8798)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B9E #539E1B
analogous
#251B9E #661B9E #9E1B95
triadic
#661B9E #9E661B #1B9E66
tetradic
#661B9E #9E251B #539E1B #1B959E
square
#661B9E #9E251B #539E1B #1B959E
split-complementary
#661B9E #959E1B #1B9E25
monochromatic
#230935 #44126A #661B9E #8824D2 #A452E1

Accessibility & contrast

On white

9.48
#661B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661B9E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B9E#FFFFFF#000000##FFFFFF
##661B9E1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661b9e;
/* rgb */ color: rgb(102, 27, 158);
/* oklch */ color: oklch(41.8% 0.193 304.8);
Tailwind
colors: {
  custom: {
    50: '#9862bc',
    500: '#661b9e',
    950: '#000000',
  },
}
SCSS
$custom: #661b9e;
$custom-light: #9862bc;
$custom-dark: #000000;
JSON
{
  "hex": "#661b9e",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 274.351,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41819,
    "c": 0.19299,
    "h": 304.8
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#661B9E
secondary
#82C451
accent
#EE3A87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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