#661A9E#661A9E

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

Color values

HEX#661A9E
RGBrgb(102, 26, 158)
HSLhsl(275, 72%, 36%)
HSVhsv(275, 84%, 62%)
CMYKcmyk(35.4%, 83.5%, 0%, 38%)
CIE-LABlab(29.49, 54.87, -55.73)
CIE-LCHlch(29.49, 78.21, 314.55°)
OKLaboklab(41.74% 0.111 -0.1589)
OKLCHoklch(41.74% 0.194 304.9)
XYZxyz(12.0190, 6.0323, 32.8723)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A9E #529E1A
analogous
#241A9E #661A9E #9E1A94
triadic
#661A9E #9E661A #1A9E66
tetradic
#661A9E #9E241A #529E1A #1A949E
square
#661A9E #9E241A #529E1A #1A949E
split-complementary
#661A9E #949E1A #1A9E24
monochromatic
#220935 #441169 #661A9E #8823D3 #A450E2

Accessibility & contrast

On white

9.52
#661A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#661A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A9E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A9E#FFFFFF#000000##FFFFFF
##661A9E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#5B3F5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661a9e;
/* rgb */ color: rgb(102, 26, 158);
/* oklch */ color: oklch(41.7% 0.194 304.9);
Tailwind
colors: {
  custom: {
    50: '#9862bc',
    500: '#661a9e',
    950: '#000000',
  },
}
SCSS
$custom: #661a9e;
$custom-light: #9862bc;
$custom-dark: #000000;
JSON
{
  "hex": "#661a9e",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 274.545,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4174,
    "c": 0.19384,
    "h": 304.9
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#661A9E
secondary
#81C54F
accent
#EE3986
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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