#80237C#80237C

#80237C is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.164 H 329.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#80237C
RGBrgb(128, 35, 124)
HSLhsl(303, 57%, 32%)
HSVhsv(303, 73%, 50%)
CMYKcmyk(0%, 72.7%, 3.1%, 49.8%)
CIE-LABlab(32.36, 50.08, -29.87)
CIE-LCHlch(32.36, 58.31, 329.19°)
OKLaboklab(43.85% 0.1415 -0.0824)
OKLCHoklch(43.85% 0.164 329.8)
XYZxyz(13.1411, 7.2475, 19.7716)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80237C #238027
analogous
#562380 #80237C #80234D
triadic
#80237C #7C8023 #237C80
tetradic
#80237C #805623 #238027 #234D80
square
#80237C #805623 #238027 #234D80
split-complementary
#80237C #4D8023 #238056
monochromatic
#20091F #50164D #80237C #B030AB #CF4FC9

Accessibility & contrast

On white

8.57
#80237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#80237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80237C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80237C#FFFFFF#000000##FFFFFF
##80237C1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447E
Deuteranopia (green-blind)
#3E517A
Tritanopia (blue-blind)
#852F4D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80237c;
/* rgb */ color: rgb(128, 35, 124);
/* oklch */ color: oklch(43.8% 0.164 329.8);
Tailwind
colors: {
  custom: {
    50: '#a867a2',
    500: '#80237c',
    950: '#000000',
  },
}
SCSS
$custom: #80237c;
$custom-light: #a867a2;
$custom-dark: #000000;
JSON
{
  "hex": "#80237c",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 302.581,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43845,
    "c": 0.16378,
    "h": 329.8
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#80237C
secondary
#4DB251
accent
#E04E47
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #80237C

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

Preview Lab → · Contrast checker → · Palette generator →

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