#661F79#661F79

#661F79 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.153 H 318.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#661F79
RGBrgb(102, 31, 121)
HSLhsl(287, 59%, 30%)
HSVhsv(287, 74%, 47%)
CMYKcmyk(15.7%, 74.4%, 0%, 52.5%)
CIE-LABlab(27.26, 44.94, -36.37)
CIE-LCHlch(27.26, 57.81, 321.01°)
OKLaboklab(39.27% 0.1143 -0.1021)
OKLCHoklch(39.27% 0.153 318.2)
XYZxyz(9.4202, 5.1857, 18.5902)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F79 #32791F
analogous
#391F79 #661F79 #791F5F
triadic
#661F79 #79661F #1F7966
tetradic
#661F79 #79391F #32791F #1F5F79
square
#661F79 #79391F #32791F #1F5F79
split-complementary
#661F79 #5F791F #1F7939
monochromatic
#150618 #3D1348 #661F79 #8F2BAA #B143CF

Accessibility & contrast

On white

10.31
#661F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#661F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F79
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F79#FFFFFF#000000##FFFFFF
##661F791.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#234377
Tritanopia (blue-blind)
#66314A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661f79;
/* rgb */ color: rgb(102, 31, 121);
/* oklch */ color: oklch(39.3% 0.153 318.2);
Tailwind
colors: {
  custom: {
    50: '#9562a0',
    500: '#661f79',
    950: '#000000',
  },
}
SCSS
$custom: #661f79;
$custom-light: #9562a0;
$custom-dark: #000000;
JSON
{
  "hex": "#661f79",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 287.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39267,
    "c": 0.15326,
    "h": 318.2
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#661F79
secondary
#5DAC47
accent
#E24567
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #661F79

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

Preview Lab → · Contrast checker → · Palette generator →

#661F79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva