#661779#661779

#661779 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.162 H 318.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#661779
RGBrgb(102, 23, 121)
HSLhsl(288, 68%, 28%)
HSVhsv(288, 81%, 47%)
CMYKcmyk(15.7%, 81%, 0%, 52.5%)
CIE-LABlab(26.21, 47.93, -38.05)
CIE-LCHlch(26.21, 61.20, 321.55°)
OKLaboklab(38.53% 0.1221 -0.107)
OKLCHoklch(38.53% 0.162 318.8)
XYZxyz(9.2366, 4.8185, 18.5290)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661779 #2A7917
analogous
#351779 #661779 #79175B
triadic
#661779 #796617 #177966
tetradic
#661779 #793517 #2A7917 #175B79
square
#661779 #793517 #2A7917 #175B79
split-complementary
#661779 #5B7917 #177935
monochromatic
#16051A #3B0D46 #661779 #9121AC #B832D8

Accessibility & contrast

On white

10.69
#661779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#661779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661779
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661779#FFFFFF#000000##FFFFFF
##6617791.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661779;
/* rgb */ color: rgb(102, 23, 121);
/* oklch */ color: oklch(38.5% 0.162 318.8);
Tailwind
colors: {
  custom: {
    50: '#955fa0',
    500: '#661779',
    950: '#000000',
  },
}
SCSS
$custom: #661779;
$custom-light: #955fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#661779",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 288.367,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38525,
    "c": 0.16234,
    "h": 318.8
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

primary
#661779
secondary
#54AE3E
accent
#EB3D5F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #661779

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

Preview Lab → · Contrast checker → · Palette generator →

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