#661DB4#661DB4

#661DB4 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.213 H 298.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#661DB4
RGBrgb(102, 29, 180)
HSLhsl(269, 72%, 41%)
HSVhsv(269, 84%, 71%)
CMYKcmyk(43.3%, 83.9%, 0%, 29.4%)
CIE-LABlab(31.80, 58.98, -65.19)
CIE-LCHlch(31.80, 87.91, 312.13°)
OKLaboklab(43.94% 0.1017 -0.1867)
OKLCHoklch(43.94% 0.213 298.6)
XYZxyz(14.1549, 6.9986, 43.7763)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661DB4 #6BB41D
analogous
#1D1FB4 #661DB4 #B11DB4
triadic
#661DB4 #B4661D #1DB466
tetradic
#661DB4 #B41D1F #6BB41D #1DB4B1
square
#661DB4 #B41D1F #6BB41D #1DB4B1
split-complementary
#661DB4 #B4B11D #1FB41D
monochromatic
#2A0C4B #48157F #661DB4 #8430DE #A465E6

Accessibility & contrast

On white

8.75
#661DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#661DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661DB4
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661DB4#FFFFFF#000000##FFFFFF
##661DB41.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#524A6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #661db4;
/* rgb */ color: rgb(102, 29, 180);
/* oklch */ color: oklch(43.9% 0.213 298.6);
Tailwind
colors: {
  custom: {
    50: '#9a64cc',
    500: '#661db4',
    950: '#000000',
  },
}
SCSS
$custom: #661db4;
$custom-light: #9a64cc;
$custom-dark: #000000;
JSON
{
  "hex": "#661db4",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 180
  },
  "hsl": {
    "h": 269.007,
    "s": 72.249,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43941,
    "c": 0.21259,
    "h": 298.6
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#661DB4
secondary
#98CB61
accent
#EF3997
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #661DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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