#661C83#661C83

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

Color values

HEX#661C83
RGBrgb(102, 28, 131)
HSLhsl(283, 65%, 31%)
HSVhsv(283, 79%, 51%)
CMYKcmyk(22.1%, 78.6%, 0%, 48.6%)
CIE-LABlab(27.56, 48.22, -42.20)
CIE-LCHlch(27.56, 64.08, 318.81°)
OKLaboklab(39.71% 0.116 -0.1192)
OKLCHoklch(39.71% 0.166 314.2)
XYZxyz(9.9908, 5.2943, 21.9640)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C83 #39831C
analogous
#321C83 #661C83 #831C6C
triadic
#661C83 #83661C #1C8366
tetradic
#661C83 #83321C #39831C #1C6C83
square
#661C83 #83321C #39831C #1C6C83
split-complementary
#661C83 #6C831C #1C8332
monochromatic
#17061E #3F1151 #661C83 #8D27B5 #AD43D7

Accessibility & contrast

On white

10.20
#661C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#661C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C83
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C83#FFFFFF#000000##FFFFFF
##661C831.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#144381
Tritanopia (blue-blind)
#63344F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661c83;
/* rgb */ color: rgb(102, 28, 131);
/* oklch */ color: oklch(39.7% 0.166 314.2);
Tailwind
colors: {
  custom: {
    50: '#9561a8',
    500: '#661c83',
    950: '#000000',
  },
}
SCSS
$custom: #661c83;
$custom-light: #9561a8;
$custom-dark: #000000;
JSON
{
  "hex": "#661c83",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 283.107,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39706,
    "c": 0.16629,
    "h": 314.2
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#661C83
secondary
#65B645
accent
#E8406F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661C83

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

Preview Lab → · Contrast checker → · Palette generator →

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