#A0318E#A0318E

#A0318E is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.179 H 335.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A0318E
RGBrgb(160, 49, 142)
HSLhsl(310, 53%, 41%)
HSVhsv(310, 69%, 63%)
CMYKcmyk(0%, 69.4%, 11.2%, 37.3%)
CIE-LABlab(40.61, 55.72, -27.65)
CIE-LCHlch(40.61, 62.21, 333.61°)
OKLaboklab(51.16% 0.1624 -0.0754)
OKLCHoklch(51.16% 0.179 335.1)
XYZxyz(20.4782, 11.6249, 26.7512)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0318E #31A043
analogous
#7A31A0 #A0318E #A03156
triadic
#A0318E #8EA031 #318EA0
tetradic
#A0318E #A07A31 #31A043 #3156A0
square
#A0318E #A07A31 #31A043 #3156A0
split-complementary
#A0318E #56A031 #31A07A
monochromatic
#42143B #712364 #A0318E #C747B2 #D576C6

Accessibility & contrast

On white

6.32
#A0318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A0318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0318E
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0318E#FFFFFF#000000##FFFFFF
##A0318E1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#56668B
Tritanopia (blue-blind)
#A8395B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a0318e;
/* rgb */ color: rgb(160, 49, 142);
/* oklch */ color: oklch(51.2% 0.179 335.1);
Tailwind
colors: {
  custom: {
    50: '#bf73af',
    500: '#a0318e',
    950: '#000000',
  },
}
SCSS
$custom: #a0318e;
$custom-light: #bf73af;
$custom-dark: #000000;
JSON
{
  "hex": "#a0318e",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 309.73,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51159,
    "c": 0.17905,
    "h": 335.1
  },
  "luminance": 0.11623
}

Semantic roles & 50–950 ramp

primary
#A0318E
secondary
#70BD7C
accent
#DD634B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A0318E

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

Preview Lab → · Contrast checker → · Palette generator →

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