#80238C#80238C

#80238C is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.177 H 322.9°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#80238C
RGBrgb(128, 35, 140)
HSLhsl(293, 60%, 34%)
HSVhsv(293, 75%, 55%)
CMYKcmyk(8.6%, 75%, 0%, 45.1%)
CIE-LABlab(33.32, 52.95, -38.31)
CIE-LCHlch(33.32, 65.36, 324.12°)
OKLaboklab(44.84% 0.1413 -0.107)
OKLCHoklch(44.84% 0.177 322.9)
XYZxyz(14.2363, 7.6855, 25.5395)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80238C #2F8C23
analogous
#4C238C #80238C #8C2364
triadic
#80238C #8C8023 #238C80
tetradic
#80238C #8C4C23 #2F8C23 #23648C
square
#80238C #8C4C23 #2F8C23 #23648C
split-complementary
#80238C #648C23 #238C4C
monochromatic
#260B2A #53175B #80238C #AD2FBD #C655D4

Accessibility & contrast

On white

8.28
#80238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#80238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80238C
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80238C#FFFFFF#000000##FFFFFF
##80238C1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#34528A
Tritanopia (blue-blind)
#823656
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80238c;
/* rgb */ color: rgb(128, 35, 140);
/* oklch */ color: oklch(44.8% 0.177 322.9);
Tailwind
colors: {
  custom: {
    50: '#a868ae',
    500: '#80238c',
    950: '#000000',
  },
}
SCSS
$custom: #80238c;
$custom-light: #a868ae;
$custom-dark: #000000;
JSON
{
  "hex": "#80238c",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 293.143,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44837,
    "c": 0.17725,
    "h": 322.9
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#80238C
secondary
#5EB852
accent
#E34557
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80238C

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

Preview Lab → · Contrast checker → · Palette generator →

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