#661D83#661D83

#661D83 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.165 H 314.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#661D83
RGBrgb(102, 29, 131)
HSLhsl(283, 64%, 31%)
HSVhsv(283, 78%, 51%)
CMYKcmyk(22.1%, 77.9%, 0%, 48.6%)
CIE-LABlab(27.69, 47.84, -41.98)
CIE-LCHlch(27.69, 63.65, 318.73°)
OKLaboklab(39.8% 0.115 -0.1186)
OKLCHoklch(39.8% 0.165 314.1)
XYZxyz(10.0149, 5.3425, 21.9720)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D83 #3A831D
analogous
#331D83 #661D83 #831D6D
triadic
#661D83 #83661D #1D8366
tetradic
#661D83 #83331D #3A831D #1D6D83
square
#661D83 #83331D #3A831D #1D6D83
split-complementary
#661D83 #6D831D #1D8333
monochromatic
#18071F #3F1251 #661D83 #8D28B5 #AC45D6

Accessibility & contrast

On white

10.15
#661D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661D83
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D83#FFFFFF#000000##FFFFFF
##661D831.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661d83;
/* rgb */ color: rgb(102, 29, 131);
/* oklch */ color: oklch(39.8% 0.165 314.1);
Tailwind
colors: {
  custom: {
    50: '#9562a8',
    500: '#661d83',
    950: '#000000',
  },
}
SCSS
$custom: #661d83;
$custom-light: #9562a8;
$custom-dark: #000000;
JSON
{
  "hex": "#661d83",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 282.941,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.398,
    "c": 0.1652,
    "h": 314.1
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#661D83
secondary
#66B646
accent
#E74170
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661D83

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

Preview Lab → · Contrast checker → · Palette generator →

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