#661885#661885

#661885 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.172 H 313.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#661885
RGBrgb(102, 24, 133)
HSLhsl(283, 69%, 31%)
HSVhsv(283, 82%, 52%)
CMYKcmyk(23.3%, 82%, 0%, 47.8%)
CIE-LABlab(27.22, 50.06, -44.00)
CIE-LCHlch(27.22, 66.65, 318.69°)
OKLaboklab(39.52% 0.1191 -0.1244)
OKLCHoklch(39.52% 0.172 313.7)
XYZxyz(10.0390, 5.1718, 22.6552)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661885 #378518
analogous
#2F1885 #661885 #85186D
triadic
#661885 #856618 #188566
tetradic
#661885 #852F18 #378518 #186D85
square
#661885 #852F18 #378518 #186D85
split-complementary
#661885 #6D8518 #18852F
monochromatic
#16051D #3E0F51 #661885 #8E21B9 #AE3CDC

Accessibility & contrast

On white

10.32
#661885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661885
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661885#FFFFFF#000000##FFFFFF
##6618851.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#0B4283
Tritanopia (blue-blind)
#63334F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661885;
/* rgb */ color: rgb(102, 24, 133);
/* oklch */ color: oklch(39.5% 0.172 313.7);
Tailwind
colors: {
  custom: {
    50: '#9660a9',
    500: '#661885',
    950: '#000000',
  },
}
SCSS
$custom: #661885;
$custom-light: #9660a9;
$custom-dark: #000000;
JSON
{
  "hex": "#661885",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 282.936,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.17225,
    "h": 313.7
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#661885
secondary
#62B940
accent
#EC3C6E
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #661885

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

Preview Lab → · Contrast checker → · Palette generator →

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