#661789#661789

#661789 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.8% C 0.177 H 312.3°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#661789
RGBrgb(102, 23, 137)
HSLhsl(282, 71%, 31%)
HSVhsv(282, 83%, 54%)
CMYKcmyk(25.5%, 83.2%, 0%, 46.3%)
CIE-LABlab(27.42, 51.23, -46.17)
CIE-LCHlch(27.42, 68.97, 317.97°)
OKLaboklab(39.75% 0.119 -0.1308)
OKLCHoklch(39.75% 0.177 312.3)
XYZxyz(10.3004, 5.2440, 24.1317)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661789 #3A8917
analogous
#2D1789 #661789 #891773
triadic
#661789 #896617 #178966
tetradic
#661789 #892D17 #3A8917 #177389
square
#661789 #892D17 #3A8917 #177389
split-complementary
#661789 #738917 #17892D
monochromatic
#180520 #3F0E55 #661789 #8D20BD #AC3CDE

Accessibility & contrast

On white

10.25
#661789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#661789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661789
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661789#FFFFFF#000000##FFFFFF
##6617891.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#623451
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661789;
/* rgb */ color: rgb(102, 23, 137);
/* oklch */ color: oklch(39.8% 0.177 312.3);
Tailwind
colors: {
  custom: {
    50: '#965fac',
    500: '#661789',
    950: '#000000',
  },
}
SCSS
$custom: #661789;
$custom-light: #965fac;
$custom-dark: #000000;
JSON
{
  "hex": "#661789",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 281.579,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39754,
    "c": 0.17684,
    "h": 312.3
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#661789
secondary
#66BD3F
accent
#EE3A71
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #661789

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

Preview Lab → · Contrast checker → · Palette generator →

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