#80309C#80309C

#80309C is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.176 H 316.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#80309C
RGBrgb(128, 48, 156)
HSLhsl(284, 53%, 40%)
HSVhsv(284, 69%, 61%)
CMYKcmyk(17.9%, 69.2%, 0%, 38.8%)
CIE-LABlab(36.18, 50.91, -43.50)
CIE-LCHlch(36.18, 66.96, 319.49°)
OKLaboklab(47.21% 0.1265 -0.1223)
OKLCHoklch(47.21% 0.176 316)
XYZxyz(15.9589, 9.1040, 32.3626)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80309C #4C9C30
analogous
#4A309C #80309C #9C3082
triadic
#80309C #9C8030 #309C80
tetradic
#80309C #9C4A30 #4C9C30 #30829C
square
#80309C #9C4A30 #4C9C30 #30829C
split-complementary
#80309C #829C30 #309C4A
monochromatic
#33133E #5A226D #80309C #A444C5 #BB73D4

Accessibility & contrast

On white

7.45
#80309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#80309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80309C
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80309C#FFFFFF#000000##FFFFFF
##80309C1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#2F5799
Tritanopia (blue-blind)
#7E4562
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #80309c;
/* rgb */ color: rgb(128, 48, 156);
/* oklch */ color: oklch(47.2% 0.176 316.0);
Tailwind
colors: {
  custom: {
    50: '#a86fba',
    500: '#80309c',
    950: '#000000',
  },
}
SCSS
$custom: #80309c;
$custom-light: #a86fba;
$custom-dark: #000000;
JSON
{
  "hex": "#80309c",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 284.444,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.17595,
    "h": 316
  },
  "luminance": 0.09103
}

Semantic roles & 50–950 ramp

primary
#80309C
secondary
#81BC6C
accent
#DC4B71
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #80309C

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

Preview Lab → · Contrast checker → · Palette generator →

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