#661AA1#661AA1

#661AA1 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 42.0% C 0.197 H 304.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#661AA1
RGBrgb(102, 26, 161)
HSLhsl(274, 72%, 37%)
HSVhsv(274, 84%, 63%)
CMYKcmyk(36.6%, 83.9%, 0%, 36.9%)
CIE-LABlab(29.75, 55.55, -57.13)
CIE-LCHlch(29.75, 79.68, 314.20°)
OKLaboklab(42% 0.11 -0.163)
OKLCHoklch(42% 0.197 304)
XYZxyz(12.2804, 6.1368, 34.2489)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661AA1 #55A11A
analogous
#231AA1 #661AA1 #A11A99
triadic
#661AA1 #A1661A #1AA166
tetradic
#661AA1 #A1231A #55A11A #1A99A1
square
#661AA1 #A1231A #55A11A #1A99A1
split-complementary
#661AA1 #99A11A #1AA123
monochromatic
#230938 #45116C #661AA1 #8723D6 #A452E3

Accessibility & contrast

On white

9.43
#661AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#661AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661AA1
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661AA1#FFFFFF#000000##FFFFFF
##661AA11.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#5A4060
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661aa1;
/* rgb */ color: rgb(102, 26, 161);
/* oklch */ color: oklch(42.0% 0.197 304.0);
Tailwind
colors: {
  custom: {
    50: '#9862be',
    500: '#661aa1',
    950: '#000000',
  },
}
SCSS
$custom: #661aa1;
$custom-light: #9862be;
$custom-dark: #000000;
JSON
{
  "hex": "#661aa1",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 273.778,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42002,
    "c": 0.19668,
    "h": 304
  },
  "luminance": 0.06137
}

Semantic roles & 50–950 ramp

primary
#661AA1
secondary
#84C651
accent
#EF3988
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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