#A42298#A42298

#A42298 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.205 H 332.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A42298
RGBrgb(164, 34, 152)
HSLhsl(306, 66%, 39%)
HSVhsv(306, 79%, 64%)
CMYKcmyk(0%, 79.3%, 7.3%, 35.7%)
CIE-LABlab(40.09, 63.12, -34.51)
CIE-LCHlch(40.09, 71.93, 331.33°)
OKLaboklab(51.08% 0.1816 -0.095)
OKLCHoklch(51.08% 0.205 332.4)
XYZxyz(21.5495, 11.3054, 30.7469)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42298 #22A42E
analogous
#6F22A4 #A42298 #A42257
triadic
#A42298 #98A422 #2298A4
tetradic
#A42298 #A46F22 #22A42E #2257A4
square
#A42298 #A46F22 #22A42E #2257A4
split-complementary
#A42298 #57A422 #22A46F
monochromatic
#3F0D3A #711769 #A42298 #D42FC5 #DE62D3

Accessibility & contrast

On white

6.44
#A42298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42298
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42298#FFFFFF#000000##FFFFFF
##A422981.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#4F6595
Tritanopia (blue-blind)
#AB325C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42298;
/* rgb */ color: rgb(164, 34, 152);
/* oklch */ color: oklch(51.1% 0.205 332.4);
Tailwind
colors: {
  custom: {
    50: '#c36db7',
    500: '#a42298',
    950: '#000000',
  },
}
SCSS
$custom: #a42298;
$custom-light: #c36db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42298",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 305.538,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5108,
    "c": 0.20492,
    "h": 332.4
  },
  "luminance": 0.11304
}

Semantic roles & 50–950 ramp

primary
#A42298
secondary
#5EC468
accent
#E94F3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42298

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

Preview Lab → · Contrast checker → · Palette generator →

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