#A0278D#A0278D

#A0278D is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.190 H 335.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A0278D
RGBrgb(160, 39, 141)
HSLhsl(309, 61%, 39%)
HSVhsv(309, 76%, 63%)
CMYKcmyk(0%, 75.6%, 11.9%, 37.3%)
CIE-LABlab(39.33, 59.07, -29.06)
CIE-LCHlch(39.33, 65.83, 333.81°)
OKLaboklab(50.21% 0.1727 -0.0794)
OKLCHoklch(50.21% 0.19 335.3)
XYZxyz(20.0307, 10.8495, 26.2334)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0278D #27A03A
analogous
#7727A0 #A0278D #A02751
triadic
#A0278D #8DA027 #278DA0
tetradic
#A0278D #A07727 #27A03A #2751A0
square
#A0278D #A07727 #27A03A #2751A0
split-complementary
#A0278D #51A027 #27A077
monochromatic
#3E0F36 #6F1B62 #A0278D #CE36B6 #DA67C8

Accessibility & contrast

On white

6.63
#A0278D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A0278D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0278D
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0278D#FFFFFF#000000##FFFFFF
##A0278D1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#A83158
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a0278d;
/* rgb */ color: rgb(160, 39, 141);
/* oklch */ color: oklch(50.2% 0.190 335.3);
Tailwind
colors: {
  custom: {
    50: '#c06eae',
    500: '#a0278d',
    950: '#000000',
  },
}
SCSS
$custom: #a0278d;
$custom-light: #c06eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a0278d",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 309.421,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.19003,
    "h": 335.3
  },
  "luminance": 0.10848
}

Semantic roles & 50–950 ramp

primary
#A0278D
secondary
#63C071
accent
#E45D44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A0278D

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

Preview Lab → · Contrast checker → · Palette generator →

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