#A0318F#A0318F

#A0318F is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.2% C 0.180 H 334.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A0318F
RGBrgb(160, 49, 143)
HSLhsl(309, 53%, 41%)
HSVhsv(309, 69%, 63%)
CMYKcmyk(0%, 69.4%, 10.6%, 37.3%)
CIE-LABlab(40.66, 55.88, -28.19)
CIE-LCHlch(40.66, 62.59, 333.23°)
OKLaboklab(51.21% 0.1625 -0.077)
OKLCHoklch(51.21% 0.18 334.7)
XYZxyz(20.5536, 11.6551, 27.1484)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0318F #31A042
analogous
#7931A0 #A0318F #A03157
triadic
#A0318F #8FA031 #318FA0
tetradic
#A0318F #A07931 #31A042 #3157A0
square
#A0318F #A07931 #31A042 #3157A0
split-complementary
#A0318F #57A031 #31A079
monochromatic
#42143B #712365 #A0318F #C747B3 #D576C7

Accessibility & contrast

On white

6.31
#A0318F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A0318F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0318F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0318F#FFFFFF#000000##FFFFFF
##A0318F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305592
Deuteranopia (green-blind)
#56668C
Tritanopia (blue-blind)
#A8395C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a0318f;
/* rgb */ color: rgb(160, 49, 143);
/* oklch */ color: oklch(51.2% 0.180 334.7);
Tailwind
colors: {
  custom: {
    50: '#bf73b0',
    500: '#a0318f',
    950: '#000000',
  },
}
SCSS
$custom: #a0318f;
$custom-light: #bf73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a0318f",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 309.189,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5121,
    "c": 0.1798,
    "h": 334.7
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#A0318F
secondary
#70BD7B
accent
#DD624B
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130910
muted
#827B7F

Preview Lab

Preview with #A0318F

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

Preview Lab → · Contrast checker → · Palette generator →

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