#A51592#A51592

#A51592 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.211 H 334.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A51592
RGBrgb(165, 21, 146)
HSLhsl(308, 77%, 36%)
HSVhsv(308, 87%, 65%)
CMYKcmyk(0%, 87.3%, 11.5%, 35.3%)
CIE-LABlab(38.92, 65.42, -32.69)
CIE-LCHlch(38.92, 73.13, 333.45°)
OKLaboklab(50.18% 0.1912 -0.0896)
OKLCHoklch(50.18% 0.211 334.9)
XYZxyz(20.9738, 10.6130, 28.1325)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51592 #15A528
analogous
#7015A5 #A51592 #A5154A
triadic
#A51592 #92A515 #1592A5
tetradic
#A51592 #A57015 #15A528 #154AA5
square
#A51592 #A57015 #15A528 #154AA5
split-complementary
#A51592 #4AA515 #15A570
monochromatic
#380732 #6F0E62 #A51592 #DB1CC2 #E84CD4

Accessibility & contrast

On white

6.73
#A51592 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A51592 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51592
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51592#FFFFFF#000000##FFFFFF
##A515921.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134F95
Deuteranopia (green-blind)
#4F638F
Tritanopia (blue-blind)
#AD2757
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a51592;
/* rgb */ color: rgb(165, 21, 146);
/* oklch */ color: oklch(50.2% 0.211 334.9);
Tailwind
colors: {
  custom: {
    50: '#c46ab2',
    500: '#a51592',
    950: '#000000',
  },
}
SCSS
$custom: #a51592;
$custom-light: #c46ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#a51592",
  "rgb": {
    "r": 165,
    "g": 21,
    "b": 146
  },
  "hsl": {
    "h": 307.917,
    "s": 77.419,
    "l": 36.471
  },
  "oklch": {
    "l": 0.50175,
    "c": 0.21115,
    "h": 334.9
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#A51592
secondary
#4CCA5D
accent
#F44D34
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #A51592

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

Preview Lab → · Contrast checker → · Palette generator →

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