#661E83#661E83

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

Color values

HEX#661E83
RGBrgb(102, 30, 131)
HSLhsl(283, 63%, 32%)
HSVhsv(283, 77%, 51%)
CMYKcmyk(22.1%, 77.1%, 0%, 48.6%)
CIE-LABlab(27.82, 47.46, -41.76)
CIE-LCHlch(27.82, 63.22, 318.65°)
OKLaboklab(39.9% 0.1141 -0.1179)
OKLCHoklch(39.9% 0.164 314)
XYZxyz(10.0398, 5.3924, 21.9803)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E83 #3B831E
analogous
#341E83 #661E83 #831E6E
triadic
#661E83 #83661E #1E8366
tetradic
#661E83 #83341E #3B831E #1E6E83
square
#661E83 #83341E #3B831E #1E6E83
split-complementary
#661E83 #6E831E #1E8334
monochromatic
#18071F #3F1351 #661E83 #8D29B5 #AC47D5

Accessibility & contrast

On white

10.10
#661E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661E83
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E83#FFFFFF#000000##FFFFFF
##661E831.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661e83;
/* rgb */ color: rgb(102, 30, 131);
/* oklch */ color: oklch(39.9% 0.164 314.0);
Tailwind
colors: {
  custom: {
    50: '#9562a8',
    500: '#661e83',
    950: '#000000',
  },
}
SCSS
$custom: #661e83;
$custom-light: #9562a8;
$custom-dark: #000000;
JSON
{
  "hex": "#661e83",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 282.772,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39895,
    "c": 0.16406,
    "h": 314
  },
  "luminance": 0.05392
}

Semantic roles & 50–950 ramp

primary
#661E83
secondary
#67B647
accent
#E64271
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661E83

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

Preview Lab → · Contrast checker → · Palette generator →

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