#76288D#76288D

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

Color values

HEX#76288D
RGBrgb(118, 40, 141)
HSLhsl(286, 56%, 35%)
HSVhsv(286, 72%, 55%)
CMYKcmyk(16.3%, 71.6%, 0%, 44.7%)
CIE-LABlab(32.46, 48.96, -40.39)
CIE-LCHlch(32.46, 63.47, 320.48°)
OKLaboklab(43.93% 0.1236 -0.1134)
OKLCHoklch(43.93% 0.168 317.5)
XYZxyz(13.0370, 7.2928, 25.9151)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76288D #3F8D28
analogous
#44288D #76288D #8D2871
triadic
#76288D #8D7628 #288D76
tetradic
#76288D #8D4428 #3F8D28 #28718D
square
#76288D #8D4428 #3F8D28 #28718D
split-complementary
#76288D #718D28 #288D44
monochromatic
#260D2E #4E1A5D #76288D #9E36BD #B75ED1

Accessibility & contrast

On white

8.54
#76288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#76288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76288D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76288D#FFFFFF#000000##FFFFFF
##76288D1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#2B4F8B
Tritanopia (blue-blind)
#753C58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #76288d;
/* rgb */ color: rgb(118, 40, 141);
/* oklch */ color: oklch(43.9% 0.168 317.5);
Tailwind
colors: {
  custom: {
    50: '#a169af',
    500: '#76288d',
    950: '#000000',
  },
}
SCSS
$custom: #76288d;
$custom-light: #a169af;
$custom-dark: #000000;
JSON
{
  "hex": "#76288d",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 286.337,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43926,
    "c": 0.16776,
    "h": 317.5
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#76288D
secondary
#6FB75A
accent
#DF496B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76288D

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

Preview Lab → · Contrast checker → · Palette generator →

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