#661785#661785

#661785 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.173 H 313.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#661785
RGBrgb(102, 23, 133)
HSLhsl(283, 71%, 31%)
HSVhsv(283, 83%, 52%)
CMYKcmyk(23.3%, 82.7%, 0%, 47.8%)
CIE-LABlab(27.11, 50.39, -44.18)
CIE-LCHlch(27.11, 67.02, 318.76°)
OKLaboklab(39.44% 0.1199 -0.125)
OKLCHoklch(39.44% 0.173 313.8)
XYZxyz(10.0188, 5.1314, 22.6484)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661785 #368517
analogous
#2F1785 #661785 #85176D
triadic
#661785 #856617 #178566
tetradic
#661785 #852F17 #368517 #176D85
square
#661785 #852F17 #368517 #176D85
split-complementary
#661785 #6D8517 #17852F
monochromatic
#16051D #3E0E51 #661785 #8E20B9 #AF3ADD

Accessibility & contrast

On white

10.36
#661785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#661785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661785
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661785#FFFFFF#000000##FFFFFF
##6617851.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#094283
Tritanopia (blue-blind)
#63324F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661785;
/* rgb */ color: rgb(102, 23, 133);
/* oklch */ color: oklch(39.4% 0.173 313.8);
Tailwind
colors: {
  custom: {
    50: '#965fa9',
    500: '#661785',
    950: '#000000',
  },
}
SCSS
$custom: #661785;
$custom-light: #965fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#661785",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 283.091,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39437,
    "c": 0.17319,
    "h": 313.8
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#661785
secondary
#61B93F
accent
#ED3B6D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #661785

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

Preview Lab → · Contrast checker → · Palette generator →

#661785 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva