#661F7F#661F7F

#661F7F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.159 H 315.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#661F7F
RGBrgb(102, 31, 127)
HSLhsl(284, 61%, 31%)
HSVhsv(284, 76%, 50%)
CMYKcmyk(19.7%, 75.6%, 0%, 50.2%)
CIE-LABlab(27.68, 46.20, -39.49)
CIE-LCHlch(27.68, 60.78, 319.48°)
OKLaboklab(39.7% 0.1136 -0.1113)
OKLCHoklch(39.7% 0.159 315.6)
XYZxyz(9.7996, 5.3374, 20.5886)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F7F #387F1F
analogous
#361F7F #661F7F #7F1F68
triadic
#661F7F #7F661F #1F7F66
tetradic
#661F7F #7F361F #387F1F #1F687F
square
#661F7F #7F361F #387F1F #1F687F
split-complementary
#661F7F #687F1F #1F7F36
monochromatic
#17071D #3E134E #661F7F #8E2BB0 #AE46D2

Accessibility & contrast

On white

10.16
#661F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#661F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F7F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F7F#FFFFFF#000000##FFFFFF
##661F7F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#1D437D
Tritanopia (blue-blind)
#64334D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661f7f;
/* rgb */ color: rgb(102, 31, 127);
/* oklch */ color: oklch(39.7% 0.159 315.6);
Tailwind
colors: {
  custom: {
    50: '#9562a5',
    500: '#661f7f',
    950: '#000000',
  },
}
SCSS
$custom: #661f7f;
$custom-light: #9562a5;
$custom-dark: #000000;
JSON
{
  "hex": "#661f7f",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 284.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39698,
    "c": 0.15904,
    "h": 315.6
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#661F7F
secondary
#63B248
accent
#E4446E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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