#A4279F#A4279F

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

Color values

HEX#A4279F
RGBrgb(164, 39, 159)
HSLhsl(302, 62%, 40%)
HSVhsv(302, 76%, 64%)
CMYKcmyk(0%, 76.2%, 3%, 35.7%)
CIE-LABlab(40.97, 62.77, -37.33)
CIE-LCHlch(40.97, 73.04, 329.26°)
OKLaboklab(51.84% 0.1775 -0.1032)
OKLCHoklch(51.84% 0.205 329.8)
XYZxyz(22.2932, 11.8485, 33.9070)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4279F #27A42C
analogous
#6B27A4 #A4279F #A42761
triadic
#A4279F #9FA427 #279FA4
tetradic
#A4279F #A46B27 #27A42C #2761A4
square
#A4279F #A46B27 #27A42C #2761A4
split-complementary
#A4279F #61A427 #27A46B
monochromatic
#410F3F #731B6F #A4279F #D038CA #DC6AD7

Accessibility & contrast

On white

6.23
#A4279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A4279F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4279F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4279F#FFFFFF#000000##FFFFFF
##A4279F1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1456A2
Deuteranopia (green-blind)
#4D669C
Tritanopia (blue-blind)
#AA3962
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a4279f;
/* rgb */ color: rgb(164, 39, 159);
/* oklch */ color: oklch(51.8% 0.205 329.8);
Tailwind
colors: {
  custom: {
    50: '#c370bc',
    500: '#a4279f',
    950: '#000000',
  },
}
SCSS
$custom: #a4279f;
$custom-light: #c370bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a4279f",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 302.4,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51836,
    "c": 0.20531,
    "h": 329.8
  },
  "luminance": 0.11847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4279F

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

Preview Lab → · Contrast checker → · Palette generator →

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