#661886#661886

#661886 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.173 H 313.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#661886
RGBrgb(102, 24, 134)
HSLhsl(283, 70%, 31%)
HSVhsv(283, 82%, 53%)
CMYKcmyk(23.9%, 82.1%, 0%, 47.5%)
CIE-LABlab(27.30, 50.27, -44.50)
CIE-LCHlch(27.30, 67.14, 318.49°)
OKLaboklab(39.59% 0.1189 -0.1259)
OKLCHoklch(39.59% 0.173 313.4)
XYZxyz(10.1084, 5.1996, 23.0208)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661886 #388618
analogous
#2F1886 #661886 #86186F
triadic
#661886 #866618 #188666
tetradic
#661886 #862F18 #388618 #186F86
square
#661886 #862F18 #388618 #186F86
split-complementary
#661886 #6F8618 #18862F
monochromatic
#17051E #3E0F52 #661886 #8E21BA #AE3CDC

Accessibility & contrast

On white

10.30
#661886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#661886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661886
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661886#FFFFFF#000000##FFFFFF
##6618861.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#084284
Tritanopia (blue-blind)
#633350
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661886;
/* rgb */ color: rgb(102, 24, 134);
/* oklch */ color: oklch(39.6% 0.173 313.4);
Tailwind
colors: {
  custom: {
    50: '#9660aa',
    500: '#661886',
    950: '#000000',
  },
}
SCSS
$custom: #661886;
$custom-light: #9660aa;
$custom-dark: #000000;
JSON
{
  "hex": "#661886",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 282.545,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39594,
    "c": 0.17316,
    "h": 313.4
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#661886
secondary
#63BA40
accent
#EC3B6F
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #661886

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

Preview Lab → · Contrast checker → · Palette generator →

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