#A51B91#A51B91

#A51B91 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.206 H 335.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A51B91
RGBrgb(165, 27, 145)
HSLhsl(309, 72%, 38%)
HSVhsv(309, 84%, 65%)
CMYKcmyk(0%, 83.6%, 12.1%, 35.3%)
CIE-LABlab(39.29, 64.04, -31.50)
CIE-LCHlch(39.29, 71.37, 333.81°)
OKLaboklab(50.42% 0.1875 -0.0862)
OKLCHoklch(50.42% 0.206 335.3)
XYZxyz(21.0201, 10.8295, 27.7658)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51B91 #1BA52F
analogous
#741BA5 #A51B91 #A51B4C
triadic
#A51B91 #91A51B #1B91A5
tetradic
#A51B91 #A5741B #1BA52F #1B4CA5
square
#A51B91 #A5741B #1BA52F #1B4CA5
split-complementary
#A51B91 #4CA51B #1BA574
monochromatic
#3C0A35 #701263 #A51B91 #DA24BF #E357CF

Accessibility & contrast

On white

6.63
#A51B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A51B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51B91
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51B91#FFFFFF#000000##FFFFFF
##A51B911.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5094
Deuteranopia (green-blind)
#51648E
Tritanopia (blue-blind)
#AE2957
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a51b91;
/* rgb */ color: rgb(165, 27, 145);
/* oklch */ color: oklch(50.4% 0.206 335.3);
Tailwind
colors: {
  custom: {
    50: '#c46bb1',
    500: '#a51b91',
    950: '#000000',
  },
}
SCSS
$custom: #a51b91;
$custom-light: #c46bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a51b91",
  "rgb": {
    "r": 165,
    "g": 27,
    "b": 145
  },
  "hsl": {
    "h": 308.696,
    "s": 71.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.20637,
    "h": 335.3
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#A51B91
secondary
#55C765
accent
#EF5339
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130811
muted
#827A80

Preview Lab

Preview with #A51B91

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

Preview Lab → · Contrast checker → · Palette generator →

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