#80309B#80309B

#80309B is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.175 H 316.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#80309B
RGBrgb(128, 48, 155)
HSLhsl(285, 53%, 40%)
HSVhsv(285, 69%, 61%)
CMYKcmyk(17.4%, 69%, 0%, 39.2%)
CIE-LABlab(36.12, 50.70, -43.00)
CIE-LCHlch(36.12, 66.48, 319.70°)
OKLaboklab(47.15% 0.1266 -0.1208)
OKLCHoklch(47.15% 0.175 316.3)
XYZxyz(15.8745, 9.0703, 31.9185)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80309B #4B9B30
analogous
#4B309B #80309B #9B3080
triadic
#80309B #9B8030 #309B80
tetradic
#80309B #9B4B30 #4B9B30 #30809B
square
#80309B #9B4B30 #4B9B30 #30809B
split-complementary
#80309B #809B30 #309B4B
monochromatic
#33133E #59226C #80309B #A443C5 #BB72D3

Accessibility & contrast

On white

7.46
#80309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80309B
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80309B#FFFFFF#000000##FFFFFF
##80309B1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#305799
Tritanopia (blue-blind)
#7E4562
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #80309b;
/* rgb */ color: rgb(128, 48, 155);
/* oklch */ color: oklch(47.1% 0.175 316.3);
Tailwind
colors: {
  custom: {
    50: '#a86fb9',
    500: '#80309b',
    950: '#000000',
  },
}
SCSS
$custom: #80309b;
$custom-light: #a86fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#80309b",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 284.86,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47145,
    "c": 0.17498,
    "h": 316.3
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

primary
#80309B
secondary
#80BB6C
accent
#DC4C70
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #80309B

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

Preview Lab → · Contrast checker → · Palette generator →

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