#661F83#661F83

#661F83 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.163 H 314.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#661F83
RGBrgb(102, 31, 131)
HSLhsl(283, 62%, 32%)
HSVhsv(283, 76%, 51%)
CMYKcmyk(22.1%, 76.3%, 0%, 48.6%)
CIE-LABlab(27.96, 47.06, -41.54)
CIE-LCHlch(27.96, 62.77, 318.56°)
OKLaboklab(39.99% 0.1131 -0.1173)
OKLCHoklch(39.99% 0.163 314)
XYZxyz(10.0655, 5.4438, 21.9889)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F83 #3C831F
analogous
#341F83 #661F83 #831F6E
triadic
#661F83 #83661F #1F8366
tetradic
#661F83 #83341F #3C831F #1F6E83
square
#661F83 #83341F #3C831F #1F6E83
split-complementary
#661F83 #6E831F #1F8334
monochromatic
#190820 #3F1352 #661F83 #8D2BB4 #AB49D4

Accessibility & contrast

On white

10.05
#661F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#661F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F83
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F83#FFFFFF#000000##FFFFFF
##661F831.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661f83;
/* rgb */ color: rgb(102, 31, 131);
/* oklch */ color: oklch(40.0% 0.163 314.0);
Tailwind
colors: {
  custom: {
    50: '#9563a8',
    500: '#661f83',
    950: '#000000',
  },
}
SCSS
$custom: #661f83;
$custom-light: #9563a8;
$custom-dark: #000000;
JSON
{
  "hex": "#661f83",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 282.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39994,
    "c": 0.16292,
    "h": 314
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#661F83
secondary
#68B648
accent
#E54372
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #661F83

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

Preview Lab → · Contrast checker → · Palette generator →

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