#802388#802388

#802388 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.174 H 324.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#802388
RGBrgb(128, 35, 136)
HSLhsl(295, 59%, 34%)
HSVhsv(295, 74%, 53%)
CMYKcmyk(5.9%, 74.3%, 0%, 46.7%)
CIE-LABlab(33.07, 52.21, -36.23)
CIE-LCHlch(33.07, 63.55, 325.24°)
OKLaboklab(44.58% 0.1415 -0.1009)
OKLCHoklch(44.58% 0.174 324.5)
XYZxyz(13.9467, 7.5697, 24.0143)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802388 #2B8823
analogous
#4D2388 #802388 #88235D
triadic
#802388 #888023 #238880
tetradic
#802388 #884D23 #2B8823 #235D88
square
#802388 #884D23 #2B8823 #235D88
split-complementary
#802388 #5D8823 #23884D
monochromatic
#240A27 #521657 #802388 #AE30B9 #C953D3

Accessibility & contrast

On white

8.35
#802388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#802388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802388
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802388#FFFFFF#000000##FFFFFF
##8023881.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478B
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#833553
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802388;
/* rgb */ color: rgb(128, 35, 136);
/* oklch */ color: oklch(44.6% 0.174 324.5);
Tailwind
colors: {
  custom: {
    50: '#a868ab',
    500: '#802388',
    950: '#000000',
  },
}
SCSS
$custom: #802388;
$custom-light: #a868ab;
$custom-dark: #000000;
JSON
{
  "hex": "#802388",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 295.248,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44579,
    "c": 0.17382,
    "h": 324.5
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#802388
secondary
#58B750
accent
#E24652
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802388

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

Preview Lab → · Contrast checker → · Palette generator →

#802388 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva