#661586#661586

#661586 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.176 H 313.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#661586
RGBrgb(102, 21, 134)
HSLhsl(283, 73%, 30%)
HSVhsv(283, 84%, 53%)
CMYKcmyk(23.9%, 84.3%, 0%, 47.5%)
CIE-LABlab(26.97, 51.22, -45.03)
CIE-LCHlch(26.97, 68.20, 318.68°)
OKLaboklab(39.37% 0.1212 -0.1274)
OKLCHoklch(39.37% 0.176 313.6)
XYZxyz(10.0500, 5.0827, 23.0013)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661586 #358615
analogous
#2E1586 #661586 #86156D
triadic
#661586 #866615 #158666
tetradic
#661586 #862E15 #358615 #156D86
square
#661586 #862E15 #358615 #156D86
split-complementary
#661586 #6D8615 #15862E
monochromatic
#15041C #3E0D51 #661586 #8E1DBB #AF36DF

Accessibility & contrast

On white

10.41
#661586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#661586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661586
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661586#FFFFFF#000000##FFFFFF
##6615861.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#034184
Tritanopia (blue-blind)
#63324F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661586;
/* rgb */ color: rgb(102, 21, 134);
/* oklch */ color: oklch(39.4% 0.176 313.6);
Tailwind
colors: {
  custom: {
    50: '#965faa',
    500: '#661586',
    950: '#000000',
  },
}
SCSS
$custom: #661586;
$custom-light: #965faa;
$custom-dark: #000000;
JSON
{
  "hex": "#661586",
  "rgb": {
    "r": 102,
    "g": 21,
    "b": 134
  },
  "hsl": {
    "h": 283.009,
    "s": 72.903,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39366,
    "c": 0.17588,
    "h": 313.6
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#661586
secondary
#60BA3C
accent
#F0386C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #661586

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

Preview Lab → · Contrast checker → · Palette generator →

#661586 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva