#661EB4#661EB4

#661EB4 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 44.0% C 0.212 H 298.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#661EB4
RGBrgb(102, 30, 180)
HSLhsl(269, 71%, 41%)
HSVhsv(269, 83%, 71%)
CMYKcmyk(43.3%, 83.3%, 0%, 29.4%)
CIE-LABlab(31.92, 58.65, -65.01)
CIE-LCHlch(31.92, 87.55, 312.06°)
OKLaboklab(44.02% 0.101 -0.1862)
OKLCHoklch(44.02% 0.212 298.5)
XYZxyz(14.1798, 7.0484, 43.7846)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661EB4 #6CB41E
analogous
#1E21B4 #661EB4 #B11EB4
triadic
#661EB4 #B4661E #1EB466
tetradic
#661EB4 #B41E21 #6CB41E #1EB4B1
square
#661EB4 #B41E21 #6CB41E #1EB4B1
split-complementary
#661EB4 #B4B11E #21B41E
monochromatic
#2B0D4B #481580 #661EB4 #8432DD #A467E6

Accessibility & contrast

On white

8.71
#661EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#661EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661EB4
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661EB4#FFFFFF#000000##FFFFFF
##661EB41.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661eb4;
/* rgb */ color: rgb(102, 30, 180);
/* oklch */ color: oklch(44.0% 0.212 298.5);
Tailwind
colors: {
  custom: {
    50: '#9a65cc',
    500: '#661eb4',
    950: '#000000',
  },
}
SCSS
$custom: #661eb4;
$custom-light: #9a65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#661eb4",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 268.8,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44019,
    "c": 0.21182,
    "h": 298.5
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#661EB4
secondary
#99CB63
accent
#EE3A98
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #661EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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