#661573#661573

#661573 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.159 H 321.6°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#661573
RGBrgb(102, 21, 115)
HSLhsl(292, 69%, 27%)
HSVhsv(292, 82%, 45%)
CMYKcmyk(11.3%, 81.7%, 0%, 54.9%)
CIE-LABlab(25.56, 47.41, -35.27)
CIE-LCHlch(25.56, 59.09, 323.35°)
OKLaboklab(37.93% 0.1246 -0.0988)
OKLCHoklch(37.93% 0.159 321.6)
XYZxyz(8.8418, 4.5994, 16.6384)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661573 #227315
analogous
#371573 #661573 #731551
triadic
#661573 #736615 #157366
tetradic
#661573 #733715 #227315 #155173
square
#661573 #733715 #227315 #155173
split-complementary
#661573 #517315 #157337
monochromatic
#17051A #380C3F #661573 #941EA7 #C02AD8

Accessibility & contrast

On white

10.94
#661573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#661573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661573
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661573#FFFFFF#000000##FFFFFF
##6615731.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#223F71
Tritanopia (blue-blind)
#672944
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661573;
/* rgb */ color: rgb(102, 21, 115);
/* oklch */ color: oklch(37.9% 0.159 321.6);
Tailwind
colors: {
  custom: {
    50: '#955e9c',
    500: '#661573',
    950: '#000000',
  },
}
SCSS
$custom: #661573;
$custom-light: #955e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#661573",
  "rgb": {
    "r": 102,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 291.702,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37931,
    "c": 0.15905,
    "h": 321.6
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#661573
secondary
#4AA93B
accent
#EC3C54
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661573

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

Preview Lab → · Contrast checker → · Palette generator →

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