#A4279E#A4279E

#A4279E is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.205 H 330.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A4279E
RGBrgb(164, 39, 158)
HSLhsl(303, 62%, 40%)
HSVhsv(303, 76%, 64%)
CMYKcmyk(0%, 76.2%, 3.7%, 35.7%)
CIE-LABlab(40.92, 62.61, -36.82)
CIE-LCHlch(40.92, 72.64, 329.54°)
OKLaboklab(51.78% 0.1775 -0.1017)
OKLCHoklch(51.78% 0.205 330.2)
XYZxyz(22.2068, 11.8139, 33.4518)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4279E #27A42D
analogous
#6C27A4 #A4279E #A42760
triadic
#A4279E #9EA427 #279EA4
tetradic
#A4279E #A46C27 #27A42D #2760A4
square
#A4279E #A46C27 #27A42D #2760A4
split-complementary
#A4279E #60A427 #27A46C
monochromatic
#410F3F #731B6E #A4279E #D038C9 #DC6AD6

Accessibility & contrast

On white

6.25
#A4279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A4279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4279E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4279E#FFFFFF#000000##FFFFFF
##A4279E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A1
Deuteranopia (green-blind)
#4E669B
Tritanopia (blue-blind)
#AA3961
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a4279e;
/* rgb */ color: rgb(164, 39, 158);
/* oklch */ color: oklch(51.8% 0.205 330.2);
Tailwind
colors: {
  custom: {
    50: '#c370bb',
    500: '#a4279e',
    950: '#000000',
  },
}
SCSS
$custom: #a4279e;
$custom-light: #c370bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a4279e",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 302.88,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.20457,
    "h": 330.2
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#A4279E
secondary
#65C269
accent
#E54B43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A4279E

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

Preview Lab → · Contrast checker → · Palette generator →

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