#661979#661979

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

Color values

HEX#661979
RGBrgb(102, 25, 121)
HSLhsl(288, 66%, 29%)
HSVhsv(288, 79%, 47%)
CMYKcmyk(15.7%, 79.3%, 0%, 52.5%)
CIE-LABlab(26.45, 47.24, -37.67)
CIE-LCHlch(26.45, 60.42, 321.43°)
OKLaboklab(38.69% 0.1203 -0.1059)
OKLCHoklch(38.69% 0.16 318.7)
XYZxyz(9.2778, 4.9010, 18.5427)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661979 #2C7919
analogous
#361979 #661979 #79195C
triadic
#661979 #796619 #197966
tetradic
#661979 #793619 #2C7919 #195C79
square
#661979 #793619 #2C7919 #195C79
split-complementary
#661979 #5C7919 #197936
monochromatic
#150519 #3B0F46 #661979 #9123AC #B637D6

Accessibility & contrast

On white

10.60
#661979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661979
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661979#FFFFFF#000000##FFFFFF
##6619791.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#1F4177
Tritanopia (blue-blind)
#662E48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661979;
/* rgb */ color: rgb(102, 25, 121);
/* oklch */ color: oklch(38.7% 0.160 318.7);
Tailwind
colors: {
  custom: {
    50: '#955fa0',
    500: '#661979',
    950: '#000000',
  },
}
SCSS
$custom: #661979;
$custom-light: #955fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#661979",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 288.125,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38694,
    "c": 0.16025,
    "h": 318.7
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#661979
secondary
#56AE40
accent
#E93F61
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #661979

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

Preview Lab → · Contrast checker → · Palette generator →

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