#80309F#80309F

#80309F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.179 H 314.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#80309F
RGBrgb(128, 48, 159)
HSLhsl(283, 54%, 41%)
HSVhsv(283, 70%, 62%)
CMYKcmyk(19.5%, 69.8%, 0%, 37.6%)
CIE-LABlab(36.38, 51.54, -45.00)
CIE-LCHlch(36.38, 68.42, 318.88°)
OKLaboklab(47.42% 0.1263 -0.1267)
OKLCHoklch(47.42% 0.179 314.9)
XYZxyz(16.2160, 9.2069, 33.7171)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80309F #4F9F30
analogous
#48309F #80309F #9F3086
triadic
#80309F #9F8030 #309F80
tetradic
#80309F #9F4830 #4F9F30 #30869F
square
#80309F #9F4830 #4F9F30 #30869F
split-complementary
#80309F #869F30 #309F48
monochromatic
#341441 #5A2270 #80309F #A345C7 #BA74D5

Accessibility & contrast

On white

7.39
#80309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#80309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80309F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80309F#FFFFFF#000000##FFFFFF
##80309F1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#2C589C
Tritanopia (blue-blind)
#7D4664
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #80309f;
/* rgb */ color: rgb(128, 48, 159);
/* oklch */ color: oklch(47.4% 0.179 314.9);
Tailwind
colors: {
  custom: {
    50: '#a86fbc',
    500: '#80309f',
    950: '#000000',
  },
}
SCSS
$custom: #80309f;
$custom-light: #a86fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#80309f",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 283.243,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.17887,
    "h": 314.9
  },
  "luminance": 0.09206
}

Semantic roles & 50–950 ramp

primary
#80309F
secondary
#84BD6E
accent
#DD4B74
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #80309F

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

Preview Lab → · Contrast checker → · Palette generator →

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