#661A9A#661A9A

#661A9A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.190 H 306.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#661A9A
RGBrgb(102, 26, 154)
HSLhsl(276, 71%, 35%)
HSVhsv(276, 83%, 60%)
CMYKcmyk(33.8%, 83.1%, 0%, 39.6%)
CIE-LABlab(29.15, 53.97, -53.85)
CIE-LCHlch(29.15, 76.24, 315.06°)
OKLaboklab(41.4% 0.1122 -0.1534)
OKLCHoklch(41.4% 0.19 306.2)
XYZxyz(11.6803, 5.8968, 31.0884)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A9A #4E9A1A
analogous
#261A9A #661A9A #9A1A8E
triadic
#661A9A #9A661A #1A9A66
tetradic
#661A9A #9A261A #4E9A1A #1A8E9A
square
#661A9A #9A261A #4E9A1A #1A8E9A
split-complementary
#661A9A #8E9A1A #1A9A26
monochromatic
#210831 #431166 #661A9A #8923CE #A54DE1

Accessibility & contrast

On white

9.64
#661A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#661A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A9A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A9A#FFFFFF#000000##FFFFFF
##661A9A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#5D3D5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661a9a;
/* rgb */ color: rgb(102, 26, 154);
/* oklch */ color: oklch(41.4% 0.190 306.2);
Tailwind
colors: {
  custom: {
    50: '#9762b9',
    500: '#661a9a',
    950: '#000000',
  },
}
SCSS
$custom: #661a9a;
$custom-light: #9762b9;
$custom-dark: #000000;
JSON
{
  "hex": "#661a9a",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 154
  },
  "hsl": {
    "h": 275.625,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41396,
    "c": 0.19004,
    "h": 306.2
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#661A9A
secondary
#7DC34D
accent
#EE3A83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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