#661685#661685

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

Color values

HEX#661685
RGBrgb(102, 22, 133)
HSLhsl(283, 72%, 30%)
HSVhsv(283, 83%, 52%)
CMYKcmyk(23.3%, 83.5%, 0%, 47.8%)
CIE-LABlab(27.00, 50.71, -44.36)
CIE-LCHlch(27.00, 67.37, 318.82°)
OKLaboklab(39.36% 0.1207 -0.1255)
OKLCHoklch(39.36% 0.174 313.9)
XYZxyz(9.9993, 5.0924, 22.6420)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661685 #358516
analogous
#2E1685 #661685 #85166C
triadic
#661685 #856616 #168566
tetradic
#661685 #852E16 #358516 #166C85
square
#661685 #852E16 #358516 #166C85
split-complementary
#661685 #6C8516 #16852E
monochromatic
#15051C #3E0D50 #661685 #8E1FBA #AF37DE

Accessibility & contrast

On white

10.40
#661685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#661685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661685
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661685#FFFFFF#000000##FFFFFF
##6616851.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661685;
/* rgb */ color: rgb(102, 22, 133);
/* oklch */ color: oklch(39.4% 0.174 313.9);
Tailwind
colors: {
  custom: {
    50: '#965fa9',
    500: '#661685',
    950: '#000000',
  },
}
SCSS
$custom: #661685;
$custom-light: #965fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#661685",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 283.243,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3936,
    "c": 0.1741,
    "h": 313.9
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#661685
secondary
#60B93E
accent
#EE396C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #661685

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

Preview Lab → · Contrast checker → · Palette generator →

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