#80287F#80287F

#80287F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.160 H 328.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#80287F
RGBrgb(128, 40, 127)
HSLhsl(301, 52%, 33%)
HSVhsv(301, 69%, 50%)
CMYKcmyk(0%, 68.8%, 0.8%, 49.8%)
CIE-LABlab(33.22, 48.66, -30.39)
CIE-LCHlch(33.22, 57.37, 328.01°)
OKLaboklab(44.52% 0.1361 -0.084)
OKLCHoklch(44.52% 0.16 328.3)
XYZxyz(13.4915, 7.6400, 20.8386)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80287F #288029
analogous
#552880 #80287F #802853
triadic
#80287F #7F8028 #287F80
tetradic
#80287F #805528 #288029 #285380
square
#80287F #805528 #288029 #285380
split-complementary
#80287F #538028 #288055
monochromatic
#230B22 #511951 #80287F #AF37AD #CB58C9

Accessibility & contrast

On white

8.31
#80287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#80287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80287F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80287F#FFFFFF#000000##FFFFFF
##80287F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4782
Deuteranopia (green-blind)
#3F527D
Tritanopia (blue-blind)
#843450
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80287f;
/* rgb */ color: rgb(128, 40, 127);
/* oklch */ color: oklch(44.5% 0.160 328.3);
Tailwind
colors: {
  custom: {
    50: '#a86aa4',
    500: '#80287f',
    950: '#000000',
  },
}
SCSS
$custom: #80287f;
$custom-light: #a86aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#80287f",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 300.682,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44517,
    "c": 0.15993,
    "h": 328.3
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#80287F
secondary
#54B055
accent
#DC4E4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #80287F

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

Preview Lab → · Contrast checker → · Palette generator →

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