#802475#802475

#802475 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.157 H 333.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#802475
RGBrgb(128, 36, 117)
HSLhsl(307, 56%, 32%)
HSVhsv(307, 72%, 50%)
CMYKcmyk(0%, 71.9%, 8.6%, 49.8%)
CIE-LABlab(32.12, 48.52, -25.85)
CIE-LCHlch(32.12, 54.98, 331.95°)
OKLaboklab(43.54% 0.14 -0.0708)
OKLCHoklch(43.54% 0.157 333.2)
XYZxyz(12.7439, 7.1363, 17.5324)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802475 #24802F
analogous
#5D2480 #802475 #802447
triadic
#802475 #758024 #247580
tetradic
#802475 #805D24 #24802F #244780
square
#802475 #805D24 #24802F #244780
split-complementary
#802475 #478024 #24805D
monochromatic
#20091E #501749 #802475 #B031A1 #CE50BF

Accessibility & contrast

On white

8.65
#802475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#802475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802475
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802475#FFFFFF#000000##FFFFFF
##8024751.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214377
Deuteranopia (green-blind)
#425073
Tritanopia (blue-blind)
#862D49
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802475;
/* rgb */ color: rgb(128, 36, 117);
/* oklch */ color: oklch(43.5% 0.157 333.2);
Tailwind
colors: {
  custom: {
    50: '#a8689d',
    500: '#802475',
    950: '#000000',
  },
}
SCSS
$custom: #802475;
$custom-light: #a8689d;
$custom-dark: #000000;
JSON
{
  "hex": "#802475",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 117
  },
  "hsl": {
    "h": 307.174,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43542,
    "c": 0.15691,
    "h": 333.2
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#802475
secondary
#4EB25A
accent
#DF5A48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802475

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

Preview Lab → · Contrast checker → · Palette generator →

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