#80268B#80268B

#80268B is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.173 H 323.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#80268B
RGBrgb(128, 38, 139)
HSLhsl(293, 57%, 35%)
HSVhsv(293, 73%, 55%)
CMYKcmyk(7.9%, 72.7%, 0%, 45.5%)
CIE-LABlab(33.65, 51.65, -37.17)
CIE-LCHlch(33.65, 63.63, 324.26°)
OKLaboklab(45.05% 0.1383 -0.1037)
OKLCHoklch(45.05% 0.173 323.2)
XYZxyz(14.2550, 7.8403, 25.1836)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80268B #318B26
analogous
#4D268B #80268B #8B2664
triadic
#80268B #8B8026 #268B80
tetradic
#80268B #8B4D26 #318B26 #26648B
square
#80268B #8B4D26 #318B26 #26648B
split-complementary
#80268B #648B26 #268B4D
monochromatic
#270C2B #54195B #80268B #AC33BB #C55AD2

Accessibility & contrast

On white

8.18
#80268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#80268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80268B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80268B#FFFFFF#000000##FFFFFF
##80268B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01488E
Deuteranopia (green-blind)
#365389
Tritanopia (blue-blind)
#823856
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #80268b;
/* rgb */ color: rgb(128, 38, 139);
/* oklch */ color: oklch(45.1% 0.173 323.2);
Tailwind
colors: {
  custom: {
    50: '#a869ad',
    500: '#80268b',
    950: '#000000',
  },
}
SCSS
$custom: #80268b;
$custom-light: #a869ad;
$custom-dark: #000000;
JSON
{
  "hex": "#80268b",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 293.465,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.17287,
    "h": 323.2
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#80268B
secondary
#61B756
accent
#E04758
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80268B

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

Preview Lab → · Contrast checker → · Palette generator →

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