#80237B#80237B

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

Color values

HEX#80237B
RGBrgb(128, 35, 123)
HSLhsl(303, 57%, 32%)
HSVhsv(303, 73%, 50%)
CMYKcmyk(0%, 72.7%, 3.9%, 49.8%)
CIE-LABlab(32.31, 49.91, -29.33)
CIE-LCHlch(32.31, 57.89, 329.56°)
OKLaboklab(43.79% 0.1415 -0.0809)
OKLCHoklch(43.79% 0.163 330.2)
XYZxyz(13.0782, 7.2223, 19.4403)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80237B #238028
analogous
#572380 #80237B #80234D
triadic
#80237B #7B8023 #237B80
tetradic
#80237B #805723 #238028 #234D80
square
#80237B #805723 #238028 #234D80
split-complementary
#80237B #4D8023 #238057
monochromatic
#20091F #50164D #80237B #B030A9 #CF4FC8

Accessibility & contrast

On white

8.59
#80237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80237B
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80237B#FFFFFF#000000##FFFFFF
##80237B1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#3E5079
Tritanopia (blue-blind)
#852F4C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80237b;
/* rgb */ color: rgb(128, 35, 123);
/* oklch */ color: oklch(43.8% 0.163 330.2);
Tailwind
colors: {
  custom: {
    50: '#a867a1',
    500: '#80237b',
    950: '#000000',
  },
}
SCSS
$custom: #80237b;
$custom-light: #a867a1;
$custom-dark: #000000;
JSON
{
  "hex": "#80237b",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 303.226,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43787,
    "c": 0.16297,
    "h": 330.2
  },
  "luminance": 0.07221
}

Semantic roles & 50–950 ramp

primary
#80237B
secondary
#4DB252
accent
#E05047
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #80237B

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

Preview Lab → · Contrast checker → · Palette generator →

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