#661A9D#661A9D

#661A9D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.193 H 305.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#661A9D
RGBrgb(102, 26, 157)
HSLhsl(275, 72%, 36%)
HSVhsv(275, 83%, 62%)
CMYKcmyk(35%, 83.4%, 0%, 38.4%)
CIE-LABlab(29.41, 54.65, -55.26)
CIE-LCHlch(29.41, 77.72, 314.68°)
OKLaboklab(41.65% 0.1113 -0.1575)
OKLCHoklch(41.65% 0.193 305.2)
XYZxyz(11.9333, 5.9980, 32.4208)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A9D #519D1A
analogous
#241A9D #661A9D #9D1A92
triadic
#661A9D #9D661A #1A9D66
tetradic
#661A9D #9D241A #519D1A #1A929D
square
#661A9D #9D241A #519D1A #1A929D
split-complementary
#661A9D #929D1A #1A9D24
monochromatic
#220934 #441168 #661A9D #8823D2 #A44FE2

Accessibility & contrast

On white

9.55
#661A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#661A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A9D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A9D#FFFFFF#000000##FFFFFF
##661A9D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#5B3F5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661a9d;
/* rgb */ color: rgb(102, 26, 157);
/* oklch */ color: oklch(41.7% 0.193 305.2);
Tailwind
colors: {
  custom: {
    50: '#9862bb',
    500: '#661a9d',
    950: '#000000',
  },
}
SCSS
$custom: #661a9d;
$custom-light: #9862bb;
$custom-dark: #000000;
JSON
{
  "hex": "#661a9d",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 274.809,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41654,
    "c": 0.19288,
    "h": 305.2
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#661A9D
secondary
#80C44E
accent
#EE3985
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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