#A51691#A51691

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

Color values

HEX#A51691
RGBrgb(165, 22, 145)
HSLhsl(308, 76%, 37%)
HSVhsv(308, 87%, 65%)
CMYKcmyk(0%, 86.7%, 12.1%, 35.3%)
CIE-LABlab(38.93, 65.09, -32.06)
CIE-LCHlch(38.93, 72.56, 333.77°)
OKLaboklab(50.17% 0.1906 -0.0878)
OKLCHoklch(50.17% 0.21 335.3)
XYZxyz(20.9151, 10.6195, 27.7308)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51691 #16A52A
analogous
#7216A5 #A51691 #A51649
triadic
#A51691 #91A516 #1691A5
tetradic
#A51691 #A57216 #16A52A #1649A5
square
#A51691 #A57216 #16A52A #1649A5
split-complementary
#A51691 #49A516 #16A572
monochromatic
#390832 #6F0F62 #A51691 #DB1DC0 #E74ED2

Accessibility & contrast

On white

6.72
#A51691 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A51691
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51691#FFFFFF#000000##FFFFFF
##A516911.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F94
Deuteranopia (green-blind)
#50638E
Tritanopia (blue-blind)
#AE2656
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a51691;
/* rgb */ color: rgb(165, 22, 145);
/* oklch */ color: oklch(50.2% 0.210 335.3);
Tailwind
colors: {
  custom: {
    50: '#c46ab1',
    500: '#a51691',
    950: '#000000',
  },
}
SCSS
$custom: #a51691;
$custom-light: #c46ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#a51691",
  "rgb": {
    "r": 165,
    "g": 22,
    "b": 145
  },
  "hsl": {
    "h": 308.392,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.20987,
    "h": 335.3
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

primary
#A51691
secondary
#4EC95F
accent
#F34F35
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130811
muted
#827A80

Preview Lab

Preview with #A51691

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

Preview Lab → · Contrast checker → · Palette generator →

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