#661989#661989

#661989 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.175 H 312.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#661989
RGBrgb(102, 25, 137)
HSLhsl(281, 69%, 32%)
HSVhsv(281, 82%, 54%)
CMYKcmyk(25.5%, 81.8%, 0%, 46.3%)
CIE-LABlab(27.65, 50.57, -45.81)
CIE-LCHlch(27.65, 68.23, 317.83°)
OKLaboklab(39.91% 0.1174 -0.1298)
OKLCHoklch(39.91% 0.175 312.1)
XYZxyz(10.3416, 5.3265, 24.1454)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661989 #3C8919
analogous
#2E1989 #661989 #891974
triadic
#661989 #896619 #198966
tetradic
#661989 #892E19 #3C8919 #197489
square
#661989 #892E19 #3C8919 #197489
split-complementary
#661989 #748919 #19892E
monochromatic
#190621 #3F1055 #661989 #8D22BD #AB40DC

Accessibility & contrast

On white

10.17
#661989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#661989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661989
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661989#FFFFFF#000000##FFFFFF
##6619891.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#004387
Tritanopia (blue-blind)
#623552
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661989;
/* rgb */ color: rgb(102, 25, 137);
/* oklch */ color: oklch(39.9% 0.175 312.1);
Tailwind
colors: {
  custom: {
    50: '#9660ac',
    500: '#661989',
    950: '#000000',
  },
}
SCSS
$custom: #661989;
$custom-light: #9660ac;
$custom-dark: #000000;
JSON
{
  "hex": "#661989",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 281.25,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39913,
    "c": 0.17499,
    "h": 312.1
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#661989
secondary
#68BC41
accent
#EC3C73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661989

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

Preview Lab → · Contrast checker → · Palette generator →

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