#80309A#80309A

#80309A is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.174 H 316.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#80309A
RGBrgb(128, 48, 154)
HSLhsl(285, 52%, 40%)
HSVhsv(285, 69%, 60%)
CMYKcmyk(16.9%, 68.8%, 0%, 39.6%)
CIE-LABlab(36.06, 50.49, -42.49)
CIE-LCHlch(36.06, 66.00, 319.92°)
OKLaboklab(47.08% 0.1267 -0.1193)
OKLCHoklch(47.08% 0.174 316.7)
XYZxyz(15.7909, 9.0368, 31.4781)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80309A #4A9A30
analogous
#4B309A #80309A #9A307F
triadic
#80309A #9A8030 #309A80
tetradic
#80309A #9A4B30 #4A9A30 #307F9A
square
#80309A #9A4B30 #4A9A30 #307F9A
split-complementary
#80309A #7F9A30 #309A4B
monochromatic
#32133D #59216B #80309A #A543C4 #BB72D3

Accessibility & contrast

On white

7.48
#80309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#80309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80309A
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80309A#FFFFFF#000000##FFFFFF
##80309A1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#315798
Tritanopia (blue-blind)
#7F4461
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #80309a;
/* rgb */ color: rgb(128, 48, 154);
/* oklch */ color: oklch(47.1% 0.174 316.7);
Tailwind
colors: {
  custom: {
    50: '#a86fb8',
    500: '#80309a',
    950: '#000000',
  },
}
SCSS
$custom: #80309a;
$custom-light: #a86fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#80309a",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 285.283,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47078,
    "c": 0.17401,
    "h": 316.7
  },
  "luminance": 0.09036
}

Semantic roles & 50–950 ramp

primary
#80309A
secondary
#7FBB6B
accent
#DC4C6F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #80309A

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

Preview Lab → · Contrast checker → · Palette generator →

#80309A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva