#80268D#80268D

#80268D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.175 H 322.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#80268D
RGBrgb(128, 38, 141)
HSLhsl(292, 58%, 35%)
HSVhsv(292, 73%, 55%)
CMYKcmyk(9.2%, 73%, 0%, 44.7%)
CIE-LABlab(33.77, 52.03, -38.20)
CIE-LCHlch(33.77, 64.55, 323.71°)
OKLaboklab(45.18% 0.1383 -0.1067)
OKLCHoklch(45.18% 0.175 322.3)
XYZxyz(14.4024, 7.8993, 25.9602)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80268D #338D26
analogous
#4C268D #80268D #8D2667
triadic
#80268D #8D8026 #268D80
tetradic
#80268D #8D4C26 #338D26 #26678D
square
#80268D #8D4C26 #338D26 #26678D
split-complementary
#80268D #678D26 #268D4C
monochromatic
#280C2D #54195D #80268D #AC33BD #C45BD3

Accessibility & contrast

On white

8.14
#80268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#80268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80268D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80268D#FFFFFF#000000##FFFFFF
##80268D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#35538B
Tritanopia (blue-blind)
#823957
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #80268d;
/* rgb */ color: rgb(128, 38, 141);
/* oklch */ color: oklch(45.2% 0.175 322.3);
Tailwind
colors: {
  custom: {
    50: '#a86aaf',
    500: '#80268d',
    950: '#000000',
  },
}
SCSS
$custom: #80268d;
$custom-light: #a86aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#80268d",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 292.427,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4518,
    "c": 0.17463,
    "h": 322.3
  },
  "luminance": 0.07899
}

Semantic roles & 50–950 ramp

primary
#80268D
secondary
#63B857
accent
#E1475A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80268D

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

Preview Lab → · Contrast checker → · Palette generator →

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