#661AB1#661AB1

#661AB1 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.4% C 0.212 H 299.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#661AB1
RGBrgb(102, 26, 177)
HSLhsl(270, 74%, 40%)
HSVhsv(270, 85%, 69%)
CMYKcmyk(42.4%, 85.3%, 0%, 30.6%)
CIE-LABlab(31.20, 59.23, -64.39)
CIE-LCHlch(31.20, 87.49, 312.61°)
OKLaboklab(43.44% 0.1046 -0.1843)
OKLCHoklch(43.44% 0.212 299.6)
XYZxyz(13.7827, 6.7377, 42.1608)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661AB1 #65B11A
analogous
#1B1AB1 #661AB1 #B11AB0
triadic
#661AB1 #B1661A #1AB166
tetradic
#661AB1 #B11B1A #65B11A #1AB0B1
square
#661AB1 #B11B1A #65B11A #1AB0B1
split-complementary
#661AB1 #B0B11A #1AB11B
monochromatic
#280A46 #47127C #661AB1 #8529E0 #A35EE7

Accessibility & contrast

On white

8.95
#661AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#661AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661AB1
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661AB1#FFFFFF#000000##FFFFFF
##661AB11.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#534869
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #661ab1;
/* rgb */ color: rgb(102, 26, 177);
/* oklch */ color: oklch(43.4% 0.212 299.6);
Tailwind
colors: {
  custom: {
    50: '#9a63c9',
    500: '#661ab1',
    950: '#000000',
  },
}
SCSS
$custom: #661ab1;
$custom-light: #9a63c9;
$custom-dark: #000000;
JSON
{
  "hex": "#661ab1",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 177
  },
  "hsl": {
    "h": 270.199,
    "s": 74.384,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43443,
    "c": 0.21192,
    "h": 299.6
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#661AB1
secondary
#93CB5B
accent
#F13793
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #661AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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