#661A7E#661A7E

#661A7E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.164 H 316.4°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#661A7E
RGBrgb(102, 26, 126)
HSLhsl(286, 66%, 30%)
HSVhsv(286, 79%, 49%)
CMYKcmyk(19%, 79.4%, 0%, 50.6%)
CIE-LABlab(26.93, 47.91, -40.06)
CIE-LCHlch(26.93, 62.45, 320.10°)
OKLaboklab(39.15% 0.1187 -0.1129)
OKLCHoklch(39.15% 0.164 316.4)
XYZxyz(9.6142, 5.0703, 20.2069)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A7E #327E1A
analogous
#341A7E #661A7E #7E1A64
triadic
#661A7E #7E661A #1A7E66
tetradic
#661A7E #7E341A #327E1A #1A647E
square
#661A7E #7E341A #327E1A #1A647E
split-complementary
#661A7E #647E1A #1A7E34
monochromatic
#150519 #3D104B #661A7E #8F24B1 #B13CD7

Accessibility & contrast

On white

10.43
#661A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#661A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A7E
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A7E#FFFFFF#000000##FFFFFF
##661A7E1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#1A427C
Tritanopia (blue-blind)
#64304B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661a7e;
/* rgb */ color: rgb(102, 26, 126);
/* oklch */ color: oklch(39.1% 0.164 316.4);
Tailwind
colors: {
  custom: {
    50: '#9560a4',
    500: '#661a7e',
    950: '#000000',
  },
}
SCSS
$custom: #661a7e;
$custom-light: #9560a4;
$custom-dark: #000000;
JSON
{
  "hex": "#661a7e",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 285.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3915,
    "c": 0.16377,
    "h": 316.4
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#661A7E
secondary
#5DB242
accent
#E93F68
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #661A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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