#80307D#80307D

#80307D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.3% C 0.147 H 329.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#80307D
RGBrgb(128, 48, 125)
HSLhsl(302, 45%, 35%)
HSVhsv(302, 63%, 50%)
CMYKcmyk(0%, 62.5%, 2.3%, 49.8%)
CIE-LABlab(34.36, 44.82, -27.34)
CIE-LCHlch(34.36, 52.50, 328.61°)
OKLaboklab(45.31% 0.1261 -0.0752)
OKLCHoklch(45.31% 0.147 329.2)
XYZxyz(13.6606, 8.1847, 20.2584)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80307D #308033
analogous
#5B3080 #80307D #803055
triadic
#80307D #7D8030 #307D80
tetradic
#80307D #805B30 #308033 #305580
square
#80307D #805B30 #308033 #305580
split-complementary
#80307D #558030 #30805B
monochromatic
#270F26 #531F52 #80307D #AD41A8 #C565C2

Accessibility & contrast

On white

7.96
#80307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#80307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80307D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80307D#FFFFFF#000000##FFFFFF
##80307D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7F
Deuteranopia (green-blind)
#44557B
Tritanopia (blue-blind)
#843952
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #80307d;
/* rgb */ color: rgb(128, 48, 125);
/* oklch */ color: oklch(45.3% 0.147 329.2);
Tailwind
colors: {
  custom: {
    50: '#a76ea3',
    500: '#80307d',
    950: '#000000',
  },
}
SCSS
$custom: #80307d;
$custom-light: #a76ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#80307d",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 302.25,
    "s": 45.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45311,
    "c": 0.14681,
    "h": 329.2
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#80307D
secondary
#5FAC62
accent
#D55853
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #80307D

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

Preview Lab → · Contrast checker → · Palette generator →

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