#661AA0#661AA0

#661AA0 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.196 H 304.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#661AA0
RGBrgb(102, 26, 160)
HSLhsl(274, 72%, 36%)
HSVhsv(274, 84%, 63%)
CMYKcmyk(36.2%, 83.8%, 0%, 37.3%)
CIE-LABlab(29.67, 55.32, -56.66)
CIE-LCHlch(29.67, 79.19, 314.31°)
OKLaboklab(41.91% 0.1103 -0.1617)
OKLCHoklch(41.91% 0.196 304.3)
XYZxyz(12.1926, 6.1017, 33.7863)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661AA0 #54A01A
analogous
#231AA0 #661AA0 #A01A97
triadic
#661AA0 #A0661A #1AA066
tetradic
#661AA0 #A0231A #54A01A #1A97A0
square
#661AA0 #A0231A #54A01A #1A97A0
split-complementary
#661AA0 #97A01A #1AA023
monochromatic
#230937 #44116B #661AA0 #8823D5 #A452E3

Accessibility & contrast

On white

9.46
#661AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#661AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661AA0
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661AA0#FFFFFF#000000##FFFFFF
##661AA01.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5A405F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661aa0;
/* rgb */ color: rgb(102, 26, 160);
/* oklch */ color: oklch(41.9% 0.196 304.3);
Tailwind
colors: {
  custom: {
    50: '#9862bd',
    500: '#661aa0',
    950: '#000000',
  },
}
SCSS
$custom: #661aa0;
$custom-light: #9862bd;
$custom-dark: #000000;
JSON
{
  "hex": "#661aa0",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 274.03,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.19573,
    "h": 304.3
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#661AA0
secondary
#83C550
accent
#EF3988
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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