#A4239E#A4239E

#A4239E is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.208 H 330.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A4239E
RGBrgb(164, 35, 158)
HSLhsl(303, 65%, 39%)
HSVhsv(303, 79%, 64%)
CMYKcmyk(0%, 78.7%, 3.7%, 35.7%)
CIE-LABlab(40.52, 63.77, -37.46)
CIE-LCHlch(40.52, 73.96, 329.57°)
OKLaboklab(51.49% 0.1808 -0.1035)
OKLCHoklch(51.49% 0.208 330.2)
XYZxyz(22.0823, 11.5650, 33.4103)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4239E #23A429
analogous
#6A23A4 #A4239E #A4235E
triadic
#A4239E #9EA423 #239EA4
tetradic
#A4239E #A46A23 #23A429 #235EA4
square
#A4239E #A46A23 #23A429 #235EA4
split-complementary
#A4239E #5EA423 #23A46A
monochromatic
#3F0D3D #72186D #A4239E #D331CC #DE64D8

Accessibility & contrast

On white

6.34
#A4239E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A4239E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4239E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4239E#FFFFFF#000000##FFFFFF
##A4239E1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D54A1
Deuteranopia (green-blind)
#4C659B
Tritanopia (blue-blind)
#AA3660
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a4239e;
/* rgb */ color: rgb(164, 35, 158);
/* oklch */ color: oklch(51.5% 0.208 330.2);
Tailwind
colors: {
  custom: {
    50: '#c36ebb',
    500: '#a4239e',
    950: '#000000',
  },
}
SCSS
$custom: #a4239e;
$custom-light: #c36ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#a4239e",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 302.791,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.20837,
    "h": 330.2
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#A4239E
secondary
#60C364
accent
#E84840
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A4239E

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

Preview Lab → · Contrast checker → · Palette generator →

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