#661986#661986

#661986 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.172 H 313.3°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#661986
RGBrgb(102, 25, 134)
HSLhsl(282, 69%, 31%)
HSVhsv(282, 81%, 53%)
CMYKcmyk(23.9%, 81.3%, 0%, 47.5%)
CIE-LABlab(27.41, 49.93, -44.31)
CIE-LCHlch(27.41, 66.76, 318.42°)
OKLaboklab(39.68% 0.1181 -0.1254)
OKLCHoklch(39.68% 0.172 313.3)
XYZxyz(10.1294, 5.2416, 23.0278)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661986 #398619
analogous
#2F1986 #661986 #86196F
triadic
#661986 #866619 #198666
tetradic
#661986 #862F19 #398619 #196F86
square
#661986 #862F19 #398619 #196F86
split-complementary
#661986 #6F8619 #19862F
monochromatic
#17061F #3F0F52 #661986 #8D23BA #AD3EDB

Accessibility & contrast

On white

10.25
#661986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#661986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661986
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661986#FFFFFF#000000##FFFFFF
##6619861.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#094284
Tritanopia (blue-blind)
#633450
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661986;
/* rgb */ color: rgb(102, 25, 134);
/* oklch */ color: oklch(39.7% 0.172 313.3);
Tailwind
colors: {
  custom: {
    50: '#9660aa',
    500: '#661986',
    950: '#000000',
  },
}
SCSS
$custom: #661986;
$custom-light: #9660aa;
$custom-dark: #000000;
JSON
{
  "hex": "#661986",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 282.385,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39676,
    "c": 0.1722,
    "h": 313.3
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#661986
secondary
#65BA41
accent
#EB3C70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661986

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

Preview Lab → · Contrast checker → · Palette generator →

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