#661474#661474

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

Color values

HEX#661474
RGBrgb(102, 20, 116)
HSLhsl(291, 71%, 27%)
HSVhsv(291, 83%, 45%)
CMYKcmyk(12.1%, 82.8%, 0%, 54.5%)
CIE-LABlab(25.52, 47.92, -35.97)
CIE-LCHlch(25.52, 59.92, 323.10°)
OKLaboklab(37.93% 0.1254 -0.1009)
OKLCHoklch(37.93% 0.161 321.2)
XYZxyz(8.8817, 4.5865, 16.9371)
Luminance0.0459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661474 #227414
analogous
#361474 #661474 #741452
triadic
#661474 #746614 #147466
tetradic
#661474 #743614 #227414 #145274
square
#661474 #743614 #227414 #145274
split-complementary
#661474 #527414 #147436
monochromatic
#17051A #380B40 #661474 #941DA8 #C028DA

Accessibility & contrast

On white

10.95
#661474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661474
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661474#FFFFFF#000000##FFFFFF
##6614741.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#213F72
Tritanopia (blue-blind)
#672944
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #661474;
/* rgb */ color: rgb(102, 20, 116);
/* oklch */ color: oklch(37.9% 0.161 321.2);
Tailwind
colors: {
  custom: {
    50: '#955d9c',
    500: '#661474',
    950: '#000000',
  },
}
SCSS
$custom: #661474;
$custom-light: #955d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#661474",
  "rgb": {
    "r": 102,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 291.25,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37926,
    "c": 0.16089,
    "h": 321.2
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#661474
secondary
#4AAA3A
accent
#ED3A55
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661474

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

Preview Lab → · Contrast checker → · Palette generator →

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