#80237D#80237D

#80237D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.165 H 329.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#80237D
RGBrgb(128, 35, 125)
HSLhsl(302, 57%, 32%)
HSVhsv(302, 73%, 50%)
CMYKcmyk(0%, 72.7%, 2.3%, 49.8%)
CIE-LABlab(32.42, 50.25, -30.41)
CIE-LCHlch(32.42, 58.74, 328.82°)
OKLaboklab(43.9% 0.1416 -0.084)
OKLCHoklch(43.9% 0.165 329.3)
XYZxyz(13.2047, 7.2729, 20.1064)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80237D #238026
analogous
#542380 #80237D #80234F
triadic
#80237D #7D8023 #237D80
tetradic
#80237D #805423 #238026 #234F80
square
#80237D #805423 #238026 #234F80
split-complementary
#80237D #4F8023 #238054
monochromatic
#20091F #50164E #80237D #B030AC #CF4FCB

Accessibility & contrast

On white

8.56
#80237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80237D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80237D#FFFFFF#000000##FFFFFF
##80237D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174480
Deuteranopia (green-blind)
#3D517B
Tritanopia (blue-blind)
#85304D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80237d;
/* rgb */ color: rgb(128, 35, 125);
/* oklch */ color: oklch(43.9% 0.165 329.3);
Tailwind
colors: {
  custom: {
    50: '#a868a3',
    500: '#80237d',
    950: '#000000',
  },
}
SCSS
$custom: #80237d;
$custom-light: #a868a3;
$custom-dark: #000000;
JSON
{
  "hex": "#80237d",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 301.935,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43904,
    "c": 0.16461,
    "h": 329.3
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#80237D
secondary
#4DB250
accent
#E04C47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #80237D

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

Preview Lab → · Contrast checker → · Palette generator →

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