#661AB3#661AB3

#661AB3 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.6% C 0.214 H 299.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#661AB3
RGBrgb(102, 26, 179)
HSLhsl(270, 75%, 40%)
HSVhsv(270, 85%, 70%)
CMYKcmyk(43%, 85.5%, 0%, 29.8%)
CIE-LABlab(31.39, 59.69, -65.28)
CIE-LCHlch(31.39, 88.45, 312.44°)
OKLaboklab(43.63% 0.1038 -0.1869)
OKLCHoklch(43.63% 0.214 299)
XYZxyz(13.9835, 6.8180, 43.2184)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661AB3 #67B31A
analogous
#1A1AB3 #661AB3 #B21AB3
triadic
#661AB3 #B3661A #1AB366
tetradic
#661AB3 #B31A1A #67B31A #1AB3B2
square
#661AB3 #B31A1A #67B31A #1AB3B2
split-complementary
#661AB3 #B3B21A #1AB31A
monochromatic
#290A48 #48127E #661AB3 #852AE0 #A360E8

Accessibility & contrast

On white

8.88
#661AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#661AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661AB3
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661AB3#FFFFFF#000000##FFFFFF
##661AB31.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#53496A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #661ab3;
/* rgb */ color: rgb(102, 26, 179);
/* oklch */ color: oklch(43.6% 0.214 299.0);
Tailwind
colors: {
  custom: {
    50: '#9a63cb',
    500: '#661ab3',
    950: '#000000',
  },
}
SCSS
$custom: #661ab3;
$custom-light: #9a63cb;
$custom-dark: #000000;
JSON
{
  "hex": "#661ab3",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 269.804,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43628,
    "c": 0.21383,
    "h": 299
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#661AB3
secondary
#95CC5D
accent
#F13795
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #661AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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