#661A8A#661A8A

#661A8A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.175 H 311.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#661A8A
RGBrgb(102, 26, 138)
HSLhsl(281, 68%, 32%)
HSVhsv(281, 81%, 54%)
CMYKcmyk(26.1%, 81.2%, 0%, 45.9%)
CIE-LABlab(27.84, 50.45, -46.11)
CIE-LCHlch(27.84, 68.34, 317.57°)
OKLaboklab(40.08% 0.1164 -0.1307)
OKLCHoklch(40.08% 0.175 311.7)
XYZxyz(10.4355, 5.3988, 24.5322)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A8A #3E8A1A
analogous
#2E1A8A #661A8A #8A1A76
triadic
#661A8A #8A661A #1A8A66
tetradic
#661A8A #8A2E1A #3E8A1A #1A768A
square
#661A8A #8A2E1A #3E8A1A #1A768A
split-complementary
#661A8A #768A1A #1A8A2E
monochromatic
#1A0723 #401057 #661A8A #8C24BD #AA43DC

Accessibility & contrast

On white

10.10
#661A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#661A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A8A
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A8A#FFFFFF#000000##FFFFFF
##661A8A1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#613652
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661a8a;
/* rgb */ color: rgb(102, 26, 138);
/* oklch */ color: oklch(40.1% 0.175 311.7);
Tailwind
colors: {
  custom: {
    50: '#9661ad',
    500: '#661a8a',
    950: '#000000',
  },
}
SCSS
$custom: #661a8a;
$custom-light: #9661ad;
$custom-dark: #000000;
JSON
{
  "hex": "#661a8a",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 280.714,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40075,
    "c": 0.17496,
    "h": 311.7
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#661A8A
secondary
#6ABD43
accent
#EB3D75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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