#80238E#80238E

#80238E is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.179 H 322.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#80238E
RGBrgb(128, 35, 142)
HSLhsl(292, 60%, 35%)
HSVhsv(292, 75%, 56%)
CMYKcmyk(9.9%, 75.4%, 0%, 44.3%)
CIE-LABlab(33.45, 53.33, -39.34)
CIE-LCHlch(33.45, 66.27, 323.58°)
OKLaboklab(44.97% 0.1412 -0.11)
OKLCHoklch(44.97% 0.179 322.1)
XYZxyz(14.3851, 7.7451, 26.3232)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80238E #318E23
analogous
#4B238E #80238E #8E2366
triadic
#80238E #8E8023 #238E80
tetradic
#80238E #8E4B23 #318E23 #23668E
square
#80238E #8E4B23 #318E23 #23668E
split-complementary
#80238E #668E23 #238E4B
monochromatic
#270B2C #54175D #80238E #AC2FBF #C556D5

Accessibility & contrast

On white

8.24
#80238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#80238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80238E
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80238E#FFFFFF#000000##FFFFFF
##80238E1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#32528C
Tritanopia (blue-blind)
#813757
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #80238e;
/* rgb */ color: rgb(128, 35, 142);
/* oklch */ color: oklch(45.0% 0.179 322.1);
Tailwind
colors: {
  custom: {
    50: '#a868b0',
    500: '#80238e',
    950: '#000000',
  },
}
SCSS
$custom: #80238e;
$custom-light: #a868b0;
$custom-dark: #000000;
JSON
{
  "hex": "#80238e",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 292.15,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44968,
    "c": 0.17898,
    "h": 322.1
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#80238E
secondary
#61B953
accent
#E44459
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80238E

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

Preview Lab → · Contrast checker → · Palette generator →

#80238E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva