#A42F92#A42F92

#A42F92 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.187 H 334.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A42F92
RGBrgb(164, 47, 146)
HSLhsl(309, 55%, 41%)
HSVhsv(309, 71%, 64%)
CMYKcmyk(0%, 71.3%, 11%, 35.7%)
CIE-LABlab(41.22, 58.08, -29.09)
CIE-LCHlch(41.22, 64.96, 333.40°)
OKLaboklab(51.79% 0.1692 -0.0795)
OKLCHoklch(51.79% 0.187 334.8)
XYZxyz(21.5149, 12.0027, 28.3722)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F92 #2FA441
analogous
#7C2FA4 #A42F92 #A42F58
triadic
#A42F92 #92A42F #2F92A4
tetradic
#A42F92 #A47C2F #2FA441 #2F58A4
square
#A42F92 #A47C2F #2FA441 #2F58A4
split-complementary
#A42F92 #58A42F #2FA47C
monochromatic
#45143D #742168 #A42F92 #CA46B6 #D876C9

Accessibility & contrast

On white

6.18
#A42F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A42F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F92
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F92#FFFFFF#000000##FFFFFF
##A42F921.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#57678F
Tritanopia (blue-blind)
#AC385D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42f92;
/* rgb */ color: rgb(164, 47, 146);
/* oklch */ color: oklch(51.8% 0.187 334.8);
Tailwind
colors: {
  custom: {
    50: '#c272b2',
    500: '#a42f92',
    950: '#000000',
  },
}
SCSS
$custom: #a42f92;
$custom-light: #c272b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f92",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 309.231,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51791,
    "c": 0.18689,
    "h": 334.8
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#A42F92
secondary
#6FC07C
accent
#DF6049
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A42F92

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

Preview Lab → · Contrast checker → · Palette generator →

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