#661879#661879

#661879 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.161 H 318.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#661879
RGBrgb(102, 24, 121)
HSLhsl(288, 67%, 28%)
HSVhsv(288, 80%, 47%)
CMYKcmyk(15.7%, 80.2%, 0%, 52.5%)
CIE-LABlab(26.33, 47.59, -37.86)
CIE-LCHlch(26.33, 60.81, 321.49°)
OKLaboklab(38.61% 0.1212 -0.1064)
OKLCHoklch(38.61% 0.161 318.7)
XYZxyz(9.2568, 4.8590, 18.5357)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661879 #2B7918
analogous
#351879 #661879 #79185B
triadic
#661879 #796618 #187966
tetradic
#661879 #793518 #2B7918 #185B79
square
#661879 #793518 #2B7918 #185B79
split-complementary
#661879 #5B7918 #187935
monochromatic
#16051A #3B0E46 #661879 #9122AC #B735D7

Accessibility & contrast

On white

10.65
#661879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#661879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661879
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661879#FFFFFF#000000##FFFFFF
##6618791.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#1E4177
Tritanopia (blue-blind)
#662D48
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661879;
/* rgb */ color: rgb(102, 24, 121);
/* oklch */ color: oklch(38.6% 0.161 318.7);
Tailwind
colors: {
  custom: {
    50: '#955fa0',
    500: '#661879',
    950: '#000000',
  },
}
SCSS
$custom: #661879;
$custom-light: #955fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#661879",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 288.247,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38608,
    "c": 0.16131,
    "h": 318.7
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#661879
secondary
#55AE3F
accent
#EA3E60
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #661879

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

Preview Lab → · Contrast checker → · Palette generator →

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