#80309D#80309D

#80309D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.177 H 315.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#80309D
RGBrgb(128, 48, 157)
HSLhsl(284, 53%, 40%)
HSVhsv(284, 69%, 62%)
CMYKcmyk(18.5%, 69.4%, 0%, 38.4%)
CIE-LABlab(36.25, 51.12, -44.00)
CIE-LCHlch(36.25, 67.45, 319.28°)
OKLaboklab(47.28% 0.1265 -0.1237)
OKLCHoklch(47.28% 0.177 315.6)
XYZxyz(16.0439, 9.1380, 32.8104)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80309D #4D9D30
analogous
#4A309D #80309D #9D3083
triadic
#80309D #9D8030 #309D80
tetradic
#80309D #9D4A30 #4D9D30 #30839D
square
#80309D #9D4A30 #4D9D30 #30839D
split-complementary
#80309D #839D30 #309D4A
monochromatic
#34133F #5A226E #80309D #A344C6 #BA73D4

Accessibility & contrast

On white

7.43
#80309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80309D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80309D#FFFFFF#000000##FFFFFF
##80309D1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#2E579A
Tritanopia (blue-blind)
#7E4563
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #80309d;
/* rgb */ color: rgb(128, 48, 157);
/* oklch */ color: oklch(47.3% 0.177 315.6);
Tailwind
colors: {
  custom: {
    50: '#a86fba',
    500: '#80309d',
    950: '#000000',
  },
}
SCSS
$custom: #80309d;
$custom-light: #a86fba;
$custom-dark: #000000;
JSON
{
  "hex": "#80309d",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 284.037,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47279,
    "c": 0.17692,
    "h": 315.6
  },
  "luminance": 0.09137
}

Semantic roles & 50–950 ramp

primary
#80309D
secondary
#82BC6D
accent
#DD4B72
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #80309D

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

Preview Lab → · Contrast checker → · Palette generator →

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