#76288B#76288B

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

Color values

HEX#76288B
RGBrgb(118, 40, 139)
HSLhsl(287, 55%, 35%)
HSVhsv(287, 71%, 55%)
CMYKcmyk(15.1%, 71.2%, 0%, 45.5%)
CIE-LABlab(32.33, 48.55, -39.36)
CIE-LCHlch(32.33, 62.50, 320.97°)
OKLaboklab(43.79% 0.1238 -0.1104)
OKLCHoklch(43.79% 0.166 318.3)
XYZxyz(12.8896, 7.2338, 25.1384)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76288B #3D8B28
analogous
#45288B #76288B #8B286E
triadic
#76288B #8B7628 #288B76
tetradic
#76288B #8B4528 #3D8B28 #286E8B
square
#76288B #8B4528 #3D8B28 #286E8B
split-complementary
#76288B #6E8B28 #288B45
monochromatic
#250D2C #4E1A5B #76288B #9E36BB #B85DD0

Accessibility & contrast

On white

8.58
#76288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#76288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76288B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76288B#FFFFFF#000000##FFFFFF
##76288B1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#763B56
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #76288b;
/* rgb */ color: rgb(118, 40, 139);
/* oklch */ color: oklch(43.8% 0.166 318.3);
Tailwind
colors: {
  custom: {
    50: '#a169ad',
    500: '#76288b',
    950: '#000000',
  },
}
SCSS
$custom: #76288b;
$custom-light: #a169ad;
$custom-dark: #000000;
JSON
{
  "hex": "#76288b",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 287.273,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43791,
    "c": 0.16586,
    "h": 318.3
  },
  "luminance": 0.07233
}

Semantic roles & 50–950 ramp

primary
#76288B
secondary
#6DB659
accent
#DF4969
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76288B

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

Preview Lab → · Contrast checker → · Palette generator →

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