#661F82#661F82

#661F82 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.162 H 314.4°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#661F82
RGBrgb(102, 31, 130)
HSLhsl(283, 61%, 32%)
HSVhsv(283, 76%, 51%)
CMYKcmyk(21.5%, 76.2%, 0%, 49%)
CIE-LABlab(27.89, 46.84, -41.03)
CIE-LCHlch(27.89, 62.27, 318.78°)
OKLaboklab(39.92% 0.1132 -0.1158)
OKLCHoklch(39.92% 0.162 314.4)
XYZxyz(9.9981, 5.4168, 21.6336)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F82 #3B821F
analogous
#341F82 #661F82 #821F6D
triadic
#661F82 #82661F #1F8266
tetradic
#661F82 #82341F #3B821F #1F6D82
square
#661F82 #82341F #3B821F #1F6D82
split-complementary
#661F82 #6D821F #1F8234
monochromatic
#18071F #3F1351 #661F82 #8D2BB3 #AC48D3

Accessibility & contrast

On white

10.08
#661F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#661F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F82
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F82#FFFFFF#000000##FFFFFF
##661F821.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#194480
Tritanopia (blue-blind)
#63354F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661f82;
/* rgb */ color: rgb(102, 31, 130);
/* oklch */ color: oklch(39.9% 0.162 314.4);
Tailwind
colors: {
  custom: {
    50: '#9562a7',
    500: '#661f82',
    950: '#000000',
  },
}
SCSS
$custom: #661f82;
$custom-light: #9562a7;
$custom-dark: #000000;
JSON
{
  "hex": "#661f82",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 283.03,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39919,
    "c": 0.16194,
    "h": 314.4
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#661F82
secondary
#67B548
accent
#E54371
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #661F82

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

Preview Lab → · Contrast checker → · Palette generator →

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