#A4258F#A4258F

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

Color values

HEX#A4258F
RGBrgb(164, 37, 143)
HSLhsl(310, 63%, 39%)
HSVhsv(310, 77%, 64%)
CMYKcmyk(0%, 77.4%, 12.8%, 35.7%)
CIE-LABlab(39.92, 60.91, -29.31)
CIE-LCHlch(39.92, 67.60, 334.31°)
OKLaboklab(50.8% 0.1786 -0.08)
OKLCHoklch(50.8% 0.196 335.9)
XYZxyz(20.9297, 11.2008, 27.0410)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4258F #25A43A
analogous
#7A25A4 #A4258F #A42550
triadic
#A4258F #8FA425 #258FA4
tetradic
#A4258F #A47A25 #25A43A #2550A4
square
#A4258F #A47A25 #25A43A #2550A4
split-complementary
#A4258F #50A425 #25A47A
monochromatic
#400E38 #721A63 #A4258F #D135B7 #DD67C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4258F#FFFFFF#000000##FFFFFF
##A4258F1.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)
#265292
Deuteranopia (green-blind)
#54658C
Tritanopia (blue-blind)
#AD2F58
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a4258f;
/* rgb */ color: rgb(164, 37, 143);
/* oklch */ color: oklch(50.8% 0.196 335.9);
Tailwind
colors: {
  custom: {
    50: '#c36eb0',
    500: '#a4258f',
    950: '#000000',
  },
}
SCSS
$custom: #a4258f;
$custom-light: #c36eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a4258f",
  "rgb": {
    "r": 164,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 309.921,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.19572,
    "h": 335.9
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#A4258F
secondary
#62C272
accent
#E65D42
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4258F

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

Preview Lab → · Contrast checker → · Palette generator →

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