#80309E#80309E

#80309E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.178 H 315.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#80309E
RGBrgb(128, 48, 158)
HSLhsl(284, 53%, 40%)
HSVhsv(284, 70%, 62%)
CMYKcmyk(19%, 69.6%, 0%, 38%)
CIE-LABlab(36.31, 51.33, -44.50)
CIE-LCHlch(36.31, 67.93, 319.08°)
OKLaboklab(47.35% 0.1264 -0.1252)
OKLCHoklch(47.35% 0.178 315.3)
XYZxyz(16.1296, 9.1723, 33.2619)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80309E #4E9E30
analogous
#49309E #80309E #9E3085
triadic
#80309E #9E8030 #309E80
tetradic
#80309E #9E4930 #4E9E30 #30859E
square
#80309E #9E4930 #4E9E30 #30859E
split-complementary
#80309E #859E30 #309E49
monochromatic
#341340 #5A226F #80309E #A345C6 #BA74D5

Accessibility & contrast

On white

7.41
#80309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#80309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80309E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80309E#FFFFFF#000000##FFFFFF
##80309E1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#2E589B
Tritanopia (blue-blind)
#7E4663
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #80309e;
/* rgb */ color: rgb(128, 48, 158);
/* oklch */ color: oklch(47.3% 0.178 315.3);
Tailwind
colors: {
  custom: {
    50: '#a86fbb',
    500: '#80309e',
    950: '#000000',
  },
}
SCSS
$custom: #80309e;
$custom-light: #a86fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#80309e",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 283.636,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47347,
    "c": 0.1779,
    "h": 315.3
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

primary
#80309E
secondary
#83BD6D
accent
#DD4B73
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #80309E

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

Preview Lab → · Contrast checker → · Palette generator →

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