#A3238F#A3238F

#A3238F is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.197 H 335.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A3238F
RGBrgb(163, 35, 143)
HSLhsl(309, 65%, 39%)
HSVhsv(309, 79%, 64%)
CMYKcmyk(0%, 78.5%, 12.3%, 36.1%)
CIE-LABlab(39.54, 61.27, -29.92)
CIE-LCHlch(39.54, 68.18, 333.97°)
OKLaboklab(50.5% 0.1794 -0.0818)
OKLCHoklch(50.5% 0.197 335.5)
XYZxyz(20.6635, 10.9737, 27.0111)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3238F #23A337
analogous
#7723A3 #A3238F #A3234F
triadic
#A3238F #8FA323 #238FA3
tetradic
#A3238F #A37723 #23A337 #234FA3
square
#A3238F #A37723 #23A337 #234FA3
split-complementary
#A3238F #4FA323 #23A377
monochromatic
#3E0D37 #711863 #A3238F #D331B9 #DD63CA

Accessibility & contrast

On white

6.57
#A3238F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A3238F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3238F#FFFFFF#000000##FFFFFF
##A3238F1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#AB2E58
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a3238f;
/* rgb */ color: rgb(163, 35, 143);
/* oklch */ color: oklch(50.5% 0.197 335.5);
Tailwind
colors: {
  custom: {
    50: '#c26db0',
    500: '#a3238f',
    950: '#000000',
  },
}
SCSS
$custom: #a3238f;
$custom-light: #c26db0;
$custom-dark: #000000;
JSON
{
  "hex": "#a3238f",
  "rgb": {
    "r": 163,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 309.375,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50496,
    "c": 0.19713,
    "h": 335.5
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#A3238F
secondary
#5FC36F
accent
#E85A40
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3238F

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

Preview Lab → · Contrast checker → · Palette generator →

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