#A52999#A52999

#A52999 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.199 H 332.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A52999
RGBrgb(165, 41, 153)
HSLhsl(306, 60%, 40%)
HSVhsv(306, 75%, 65%)
CMYKcmyk(0%, 75.2%, 7.3%, 35.3%)
CIE-LABlab(41.04, 61.43, -33.61)
CIE-LCHlch(41.04, 70.02, 331.32°)
OKLaboklab(51.81% 0.1766 -0.0924)
OKLCHoklch(51.81% 0.199 332.4)
XYZxyz(22.0598, 11.8870, 31.2634)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52999 #29A535
analogous
#7329A5 #A52999 #A5295B
triadic
#A52999 #99A529 #2999A5
tetradic
#A52999 #A57329 #29A535 #295BA5
square
#A52999 #A57329 #29A535 #295BA5
split-complementary
#A52999 #5BA529 #29A573
monochromatic
#43113E #741D6C #A52999 #CF3DC1 #DB6ED0

Accessibility & contrast

On white

6.22
#A52999 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A52999 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52999
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52999#FFFFFF#000000##FFFFFF
##A529991.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569C
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#AC375F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52999;
/* rgb */ color: rgb(165, 41, 153);
/* oklch */ color: oklch(51.8% 0.199 332.4);
Tailwind
colors: {
  custom: {
    50: '#c370b7',
    500: '#a52999',
    950: '#000000',
  },
}
SCSS
$custom: #a52999;
$custom-light: #c370b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52999",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 305.806,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51807,
    "c": 0.19933,
    "h": 332.4
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

primary
#A52999
secondary
#68C271
accent
#E35444
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52999

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

Preview Lab → · Contrast checker → · Palette generator →

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