#A42592#A42592

#A42592 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 51.0% C 0.198 H 334.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A42592
RGBrgb(164, 37, 146)
HSLhsl(309, 63%, 39%)
HSVhsv(309, 77%, 64%)
CMYKcmyk(0%, 77.4%, 11%, 35.7%)
CIE-LABlab(40.07, 61.36, -30.89)
CIE-LCHlch(40.07, 68.70, 333.27°)
OKLaboklab(50.96% 0.1788 -0.0846)
OKLCHoklch(50.96% 0.198 334.7)
XYZxyz(21.1600, 11.2929, 28.2539)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42592 #25A437
analogous
#7725A4 #A42592 #A42553
triadic
#A42592 #92A425 #2592A4
tetradic
#A42592 #A47725 #25A437 #2553A4
square
#A42592 #A47725 #25A437 #2553A4
split-complementary
#A42592 #53A425 #25A477
monochromatic
#400E39 #721A66 #A42592 #D135BB #DD67CC

Accessibility & contrast

On white

6.45
#A42592 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A42592 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42592
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42592#FFFFFF#000000##FFFFFF
##A425921.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235395
Deuteranopia (green-blind)
#53658F
Tritanopia (blue-blind)
#AC315A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42592;
/* rgb */ color: rgb(164, 37, 146);
/* oklch */ color: oklch(51.0% 0.198 334.7);
Tailwind
colors: {
  custom: {
    50: '#c36eb2',
    500: '#a42592',
    950: '#000000',
  },
}
SCSS
$custom: #a42592;
$custom-light: #c36eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42592",
  "rgb": {
    "r": 164,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 308.504,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50962,
    "c": 0.19782,
    "h": 334.7
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#A42592
secondary
#62C270
accent
#E65942
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42592

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

Preview Lab → · Contrast checker → · Palette generator →

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