#A42392#A42392

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

Color values

HEX#A42392
RGBrgb(164, 35, 146)
HSLhsl(308, 65%, 39%)
HSVhsv(308, 79%, 64%)
CMYKcmyk(0%, 78.7%, 11%, 35.7%)
CIE-LABlab(39.87, 61.94, -31.21)
CIE-LCHlch(39.87, 69.36, 333.26°)
OKLaboklab(50.82% 0.1805 -0.0855)
OKLCHoklch(50.82% 0.2 334.7)
XYZxyz(21.0994, 11.1718, 28.2337)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42392 #23A435
analogous
#7623A4 #A42392 #A42352
triadic
#A42392 #92A423 #2392A4
tetradic
#A42392 #A47623 #23A435 #2352A4
square
#A42392 #A47623 #23A435 #2352A4
split-complementary
#A42392 #52A423 #23A476
monochromatic
#3F0D38 #721865 #A42392 #D331BC #DE64CD

Accessibility & contrast

On white

6.49
#A42392 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A42392 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42392
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42392#FFFFFF#000000##FFFFFF
##A423921.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215295
Deuteranopia (green-blind)
#52658F
Tritanopia (blue-blind)
#AC2F59
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42392;
/* rgb */ color: rgb(164, 35, 146);
/* oklch */ color: oklch(50.8% 0.200 334.7);
Tailwind
colors: {
  custom: {
    50: '#c36eb2',
    500: '#a42392',
    950: '#000000',
  },
}
SCSS
$custom: #a42392;
$custom-light: #c36eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42392",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 308.372,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.19975,
    "h": 334.7
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#A42392
secondary
#60C36E
accent
#E85740
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42392

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

Preview Lab → · Contrast checker → · Palette generator →

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