#A3238E#A3238E

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

Color values

HEX#A3238E
RGBrgb(163, 35, 142)
HSLhsl(310, 65%, 39%)
HSVhsv(310, 79%, 64%)
CMYKcmyk(0%, 78.5%, 12.9%, 36.1%)
CIE-LABlab(39.49, 61.12, -29.38)
CIE-LCHlch(39.49, 67.82, 334.32°)
OKLaboklab(50.44% 0.1793 -0.0802)
OKLCHoklch(50.44% 0.196 335.9)
XYZxyz(20.5881, 10.9435, 26.6140)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3238E #23A338
analogous
#7823A3 #A3238E #A3234E
triadic
#A3238E #8EA323 #238EA3
tetradic
#A3238E #A37823 #23A338 #234EA3
square
#A3238E #A37823 #23A338 #234EA3
split-complementary
#A3238E #4EA323 #23A378
monochromatic
#3E0D36 #711862 #A3238E #D331B8 #DD63C9

Accessibility & contrast

On white

6.59
#A3238E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A3238E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3238E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3238E#FFFFFF#000000##FFFFFF
##A3238E1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#53648B
Tritanopia (blue-blind)
#AC2E57
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a3238e;
/* rgb */ color: rgb(163, 35, 142);
/* oklch */ color: oklch(50.4% 0.196 335.9);
Tailwind
colors: {
  custom: {
    50: '#c26daf',
    500: '#a3238e',
    950: '#000000',
  },
}
SCSS
$custom: #a3238e;
$custom-light: #c26daf;
$custom-dark: #000000;
JSON
{
  "hex": "#a3238e",
  "rgb": {
    "r": 163,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 309.844,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.19643,
    "h": 335.9
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#A3238E
secondary
#5FC36F
accent
#E85C40
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3238E

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

Preview Lab → · Contrast checker → · Palette generator →

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