#A42491#A42491

#A42491 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.198 H 335.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A42491
RGBrgb(164, 36, 145)
HSLhsl(309, 64%, 39%)
HSVhsv(309, 78%, 64%)
CMYKcmyk(0%, 78%, 11.6%, 35.7%)
CIE-LABlab(39.92, 61.50, -30.53)
CIE-LCHlch(39.92, 68.66, 333.60°)
OKLaboklab(50.83% 0.1796 -0.0835)
OKLCHoklch(50.83% 0.198 335.1)
XYZxyz(21.0518, 11.2005, 27.8358)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42491 #24A437
analogous
#7724A4 #A42491 #A42451
triadic
#A42491 #91A424 #2491A4
tetradic
#A42491 #A47724 #24A437 #2451A4
square
#A42491 #A47724 #24A437 #2451A4
split-complementary
#A42491 #51A424 #24A477
monochromatic
#400E38 #721965 #A42491 #D233BB #DD65CB

Accessibility & contrast

On white

6.48
#A42491 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A42491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42491
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42491#FFFFFF#000000##FFFFFF
##A424911.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235294
Deuteranopia (green-blind)
#53658E
Tritanopia (blue-blind)
#AC3059
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42491;
/* rgb */ color: rgb(164, 36, 145);
/* oklch */ color: oklch(50.8% 0.198 335.1);
Tailwind
colors: {
  custom: {
    50: '#c36eb1',
    500: '#a42491',
    950: '#000000',
  },
}
SCSS
$custom: #a42491;
$custom-light: #c36eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42491",
  "rgb": {
    "r": 164,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 308.906,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50835,
    "c": 0.1981,
    "h": 335.1
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#A42491
secondary
#61C370
accent
#E75941
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A42491

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

Preview Lab → · Contrast checker → · Palette generator →

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