#661684#661684

#661684 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.173 H 314.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#661684
RGBrgb(102, 22, 132)
HSLhsl(284, 71%, 30%)
HSVhsv(284, 83%, 52%)
CMYKcmyk(22.7%, 83.3%, 0%, 48.2%)
CIE-LABlab(26.92, 50.50, -43.86)
CIE-LCHlch(26.92, 66.89, 319.03°)
OKLaboklab(39.28% 0.1209 -0.124)
OKLCHoklch(39.28% 0.173 314.3)
XYZxyz(9.9305, 5.0649, 22.2798)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661684 #348416
analogous
#2F1684 #661684 #84166B
triadic
#661684 #846616 #168466
tetradic
#661684 #842F16 #348416 #166B84
square
#661684 #842F16 #348416 #166B84
split-complementary
#661684 #6B8416 #16842F
monochromatic
#15051B #3D0D50 #661684 #8F1FB8 #B037DE

Accessibility & contrast

On white

10.43
#661684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#661684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##661684#FFFFFF#000000##FFFFFF
##6616841.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)
#003B87
Deuteranopia (green-blind)
#0A4182
Tritanopia (blue-blind)
#63314E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661684;
/* rgb */ color: rgb(102, 22, 132);
/* oklch */ color: oklch(39.3% 0.173 314.3);
Tailwind
colors: {
  custom: {
    50: '#965fa8',
    500: '#661684',
    950: '#000000',
  },
}
SCSS
$custom: #661684;
$custom-light: #965fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#661684",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 283.636,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.1732,
    "h": 314.3
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#661684
secondary
#5FB83D
accent
#EE3A6B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #661684

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

Preview Lab → · Contrast checker → · Palette generator →

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