#661574#661574

#661574 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.160 H 321.1°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#661574
RGBrgb(102, 21, 116)
HSLhsl(291, 69%, 27%)
HSVhsv(291, 82%, 45%)
CMYKcmyk(12.1%, 81.9%, 0%, 54.5%)
CIE-LABlab(25.63, 47.60, -35.80)
CIE-LCHlch(25.63, 59.56, 323.06°)
OKLaboklab(38% 0.1245 -0.1003)
OKLCHoklch(38% 0.16 321.1)
XYZxyz(8.8997, 4.6226, 16.9431)
Luminance0.0462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661574 #237415
analogous
#371574 #661574 #741553
triadic
#661574 #746615 #157466
tetradic
#661574 #743715 #237415 #155374
square
#661574 #743715 #237415 #155374
split-complementary
#661574 #537415 #157437
monochromatic
#17051A #380C40 #661574 #941EA8 #BF2BD9

Accessibility & contrast

On white

10.91
#661574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661574
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661574#FFFFFF#000000##FFFFFF
##6615741.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#214072
Tritanopia (blue-blind)
#672945
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661574;
/* rgb */ color: rgb(102, 21, 116);
/* oklch */ color: oklch(38.0% 0.160 321.1);
Tailwind
colors: {
  custom: {
    50: '#955e9c',
    500: '#661574',
    950: '#000000',
  },
}
SCSS
$custom: #661574;
$custom-light: #955e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#661574",
  "rgb": {
    "r": 102,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 291.158,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38003,
    "c": 0.15992,
    "h": 321.1
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#661574
secondary
#4BAA3B
accent
#EC3C56
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661574

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

Preview Lab → · Contrast checker → · Palette generator →

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