#A3299E#A3299E

#A3299E is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.202 H 329.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A3299E
RGBrgb(163, 41, 158)
HSLhsl(302, 60%, 40%)
HSVhsv(302, 75%, 64%)
CMYKcmyk(0%, 74.8%, 3.1%, 36.1%)
CIE-LABlab(40.97, 61.77, -36.76)
CIE-LCHlch(40.97, 71.88, 329.25°)
OKLaboklab(51.78% 0.1747 -0.1015)
OKLCHoklch(51.78% 0.202 329.8)
XYZxyz(22.0686, 11.8427, 33.4647)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3299E #29A32E
analogous
#6B29A3 #A3299E #A32961
triadic
#A3299E #9EA329 #299EA3
tetradic
#A3299E #A36B29 #29A32E #2961A3
square
#A3299E #A36B29 #29A32E #2961A3
split-complementary
#A3299E #61A329 #29A36B
monochromatic
#41103F #721D6F #A3299E #CE3BC8 #DA6CD6

Accessibility & contrast

On white

6.23
#A3299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A3299E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3299E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3299E#FFFFFF#000000##FFFFFF
##A3299E1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A1
Deuteranopia (green-blind)
#4E669B
Tritanopia (blue-blind)
#A93A62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a3299e;
/* rgb */ color: rgb(163, 41, 158);
/* oklch */ color: oklch(51.8% 0.202 329.8);
Tailwind
colors: {
  custom: {
    50: '#c270bb',
    500: '#a3299e',
    950: '#000000',
  },
}
SCSS
$custom: #a3299e;
$custom-light: #c270bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a3299e",
  "rgb": {
    "r": 163,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 302.459,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.51779,
    "c": 0.20204,
    "h": 329.8
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#A3299E
secondary
#67C16B
accent
#E34B45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A3299E

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

Preview Lab → · Contrast checker → · Palette generator →

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