#80237A#80237A

#80237A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.162 H 330.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#80237A
RGBrgb(128, 35, 122)
HSLhsl(304, 57%, 32%)
HSVhsv(304, 73%, 50%)
CMYKcmyk(0%, 72.7%, 4.7%, 49.8%)
CIE-LABlab(32.25, 49.74, -28.79)
CIE-LCHlch(32.25, 57.47, 329.94°)
OKLaboklab(43.73% 0.1415 -0.0793)
OKLCHoklch(43.73% 0.162 330.7)
XYZxyz(13.0159, 7.1974, 19.1123)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80237A #238029
analogous
#582380 #80237A #80234C
triadic
#80237A #7A8023 #237A80
tetradic
#80237A #805823 #238029 #234C80
square
#80237A #805823 #238029 #234C80
split-complementary
#80237A #4C8023 #238058
monochromatic
#20091E #50164C #80237A #B030A8 #CF4FC7

Accessibility & contrast

On white

8.61
#80237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#80237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80237A
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80237A#FFFFFF#000000##FFFFFF
##80237A1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447C
Deuteranopia (green-blind)
#3F5078
Tritanopia (blue-blind)
#852E4C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80237a;
/* rgb */ color: rgb(128, 35, 122);
/* oklch */ color: oklch(43.7% 0.162 330.7);
Tailwind
colors: {
  custom: {
    50: '#a867a1',
    500: '#80237a',
    950: '#000000',
  },
}
SCSS
$custom: #80237a;
$custom-light: #a867a1;
$custom-dark: #000000;
JSON
{
  "hex": "#80237a",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 303.871,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43729,
    "c": 0.16216,
    "h": 330.7
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#80237A
secondary
#4DB253
accent
#E05147
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070F
muted
#7F7A7E

Preview Lab

Preview with #80237A

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

Preview Lab → · Contrast checker → · Palette generator →

#80237A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva