#661B85#661B85

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

Color values

HEX#661B85
RGBrgb(102, 27, 133)
HSLhsl(282, 66%, 31%)
HSVhsv(282, 80%, 52%)
CMYKcmyk(23.3%, 79.7%, 0%, 47.8%)
CIE-LABlab(27.58, 49.02, -43.41)
CIE-LCHlch(27.58, 65.48, 318.47°)
OKLaboklab(39.77% 0.1165 -0.1227)
OKLCHoklch(39.77% 0.169 313.5)
XYZxyz(10.1043, 5.3024, 22.6770)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B85 #3A851B
analogous
#311B85 #661B85 #851B6F
triadic
#661B85 #85661B #1B8566
tetradic
#661B85 #85311B #3A851B #1B6F85
square
#661B85 #85311B #3A851B #1B6F85
split-complementary
#661B85 #6F851B #1B8531
monochromatic
#18061F #3F1152 #661B85 #8D25B8 #AC42D9

Accessibility & contrast

On white

10.19
#661B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661B85
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B85#FFFFFF#000000##FFFFFF
##661B851.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#0F4383
Tritanopia (blue-blind)
#633450
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661b85;
/* rgb */ color: rgb(102, 27, 133);
/* oklch */ color: oklch(39.8% 0.169 313.5);
Tailwind
colors: {
  custom: {
    50: '#9661a9',
    500: '#661b85',
    950: '#000000',
  },
}
SCSS
$custom: #661b85;
$custom-light: #9661a9;
$custom-dark: #000000;
JSON
{
  "hex": "#661b85",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 282.453,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39769,
    "c": 0.16925,
    "h": 313.5
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#661B85
secondary
#66B844
accent
#E93F71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661B85

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

Preview Lab → · Contrast checker → · Palette generator →

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