#661978#661978

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

Color values

HEX#661978
RGBrgb(102, 25, 120)
HSLhsl(289, 66%, 28%)
HSVhsv(289, 79%, 47%)
CMYKcmyk(15%, 79.2%, 0%, 52.9%)
CIE-LABlab(26.38, 47.04, -37.14)
CIE-LCHlch(26.38, 59.94, 321.70°)
OKLaboklab(38.62% 0.1204 -0.1043)
OKLCHoklch(38.62% 0.159 319.1)
XYZxyz(9.2168, 4.8766, 18.2214)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661978 #2B7819
analogous
#371978 #661978 #78195A
triadic
#661978 #786619 #197866
tetradic
#661978 #783719 #2B7819 #195A78
square
#661978 #783719 #2B7819 #195A78
split-complementary
#661978 #5A7819 #197837
monochromatic
#160519 #3B0E45 #661978 #9124AB #B736D5

Accessibility & contrast

On white

10.63
#661978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#661978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661978
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661978#FFFFFF#000000##FFFFFF
##6619781.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#204176
Tritanopia (blue-blind)
#662D48
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661978;
/* rgb */ color: rgb(102, 25, 120);
/* oklch */ color: oklch(38.6% 0.159 319.1);
Tailwind
colors: {
  custom: {
    50: '#955f9f',
    500: '#661978',
    950: '#000000',
  },
}
SCSS
$custom: #661978;
$custom-light: #955f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#661978",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 288.632,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38622,
    "c": 0.15934,
    "h": 319.1
  },
  "luminance": 0.04876
}

Semantic roles & 50–950 ramp

primary
#661978
secondary
#55AD40
accent
#E83F5F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #661978

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

Preview Lab → · Contrast checker → · Palette generator →

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