#A42492#A42492

#A42492 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.9% C 0.199 H 334.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A42492
RGBrgb(164, 36, 146)
HSLhsl(308, 64%, 39%)
HSVhsv(308, 78%, 64%)
CMYKcmyk(0%, 78%, 11%, 35.7%)
CIE-LABlab(39.97, 61.65, -31.05)
CIE-LCHlch(39.97, 69.03, 333.26°)
OKLaboklab(50.89% 0.1797 -0.085)
OKLCHoklch(50.89% 0.199 334.7)
XYZxyz(21.1293, 11.2315, 28.2436)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42492 #24A436
analogous
#7624A4 #A42492 #A42452
triadic
#A42492 #92A424 #2492A4
tetradic
#A42492 #A47624 #24A436 #2452A4
square
#A42492 #A47624 #24A436 #2452A4
split-complementary
#A42492 #52A424 #24A476
monochromatic
#400E39 #721965 #A42492 #D233BC #DD65CC

Accessibility & contrast

On white

6.47
#A42492 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A42492 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42492
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42492#FFFFFF#000000##FFFFFF
##A424921.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42492;
/* rgb */ color: rgb(164, 36, 146);
/* oklch */ color: oklch(50.9% 0.199 334.7);
Tailwind
colors: {
  custom: {
    50: '#c36eb2',
    500: '#a42492',
    950: '#000000',
  },
}
SCSS
$custom: #a42492;
$custom-light: #c36eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42492",
  "rgb": {
    "r": 164,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 308.438,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50889,
    "c": 0.1988,
    "h": 334.7
  },
  "luminance": 0.1123
}

Semantic roles & 50–950 ramp

primary
#A42492
secondary
#61C36F
accent
#E75841
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42492

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

Preview Lab → · Contrast checker → · Palette generator →

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