#661AB4#661AB4

#661AB4 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.215 H 298.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#661AB4
RGBrgb(102, 26, 180)
HSLhsl(270, 75%, 40%)
HSVhsv(270, 86%, 71%)
CMYKcmyk(43.3%, 85.6%, 0%, 29.4%)
CIE-LABlab(31.48, 59.92, -65.72)
CIE-LCHlch(31.48, 88.94, 312.36°)
OKLaboklab(43.72% 0.1035 -0.1882)
OKLCHoklch(43.72% 0.215 298.8)
XYZxyz(14.0850, 6.8586, 43.7529)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661AB4 #68B41A
analogous
#1A1BB4 #661AB4 #B31AB4
triadic
#661AB4 #B4661A #1AB466
tetradic
#661AB4 #B41A1B #68B41A #1AB4B3
square
#661AB4 #B41A1B #68B41A #1AB4B3
split-complementary
#661AB4 #B4B31A #1BB41A
monochromatic
#290B49 #48127F #661AB4 #842BE0 #A360E8

Accessibility & contrast

On white

8.85
#661AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#661AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661AB4
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661AB4#FFFFFF#000000##FFFFFF
##661AB41.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#52496B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #661ab4;
/* rgb */ color: rgb(102, 26, 180);
/* oklch */ color: oklch(43.7% 0.215 298.8);
Tailwind
colors: {
  custom: {
    50: '#9a63cc',
    500: '#661ab4',
    950: '#000000',
  },
}
SCSS
$custom: #661ab4;
$custom-light: #9a63cc;
$custom-dark: #000000;
JSON
{
  "hex": "#661ab4",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 269.61,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43721,
    "c": 0.21478,
    "h": 298.8
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#661AB4
secondary
#96CC5D
accent
#F13695
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #661AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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