#661689#661689

#661689 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.178 H 312.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#661689
RGBrgb(102, 22, 137)
HSLhsl(282, 72%, 31%)
HSVhsv(282, 84%, 54%)
CMYKcmyk(25.5%, 83.9%, 0%, 46.3%)
CIE-LABlab(27.31, 51.55, -46.35)
CIE-LCHlch(27.31, 69.32, 318.04°)
OKLaboklab(39.68% 0.1198 -0.1313)
OKLCHoklch(39.68% 0.178 312.4)
XYZxyz(10.2809, 5.2050, 24.1252)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661689 #398916
analogous
#2C1689 #661689 #891672
triadic
#661689 #896616 #168966
tetradic
#661689 #892C16 #398916 #167289
square
#661689 #892C16 #398916 #167289
split-complementary
#661689 #728916 #16892C
monochromatic
#170520 #3F0E54 #661689 #8D1EBE #AD3ADF

Accessibility & contrast

On white

10.29
#661689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#661689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661689
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661689#FFFFFF#000000##FFFFFF
##6616891.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661689;
/* rgb */ color: rgb(102, 22, 137);
/* oklch */ color: oklch(39.7% 0.178 312.4);
Tailwind
colors: {
  custom: {
    50: '#965fac',
    500: '#661689',
    950: '#000000',
  },
}
SCSS
$custom: #661689;
$custom-light: #965fac;
$custom-dark: #000000;
JSON
{
  "hex": "#661689",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 281.739,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39679,
    "c": 0.17773,
    "h": 312.4
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#661689
secondary
#65BD3E
accent
#EF3970
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #661689

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

Preview Lab → · Contrast checker → · Palette generator →

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