#76287E#76287E

#76287E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.154 H 323.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#76287E
RGBrgb(118, 40, 126)
HSLhsl(294, 52%, 33%)
HSVhsv(294, 68%, 49%)
CMYKcmyk(6.3%, 68.3%, 0%, 50.6%)
CIE-LABlab(31.52, 45.96, -32.56)
CIE-LCHlch(31.52, 56.33, 324.68°)
OKLaboklab(42.95% 0.1241 -0.0905)
OKLCHoklch(42.95% 0.154 323.9)
XYZxyz(11.9956, 6.8762, 20.4300)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76287E #307E28
analogous
#4B287E #76287E #7E285B
triadic
#76287E #7E7628 #287E76
tetradic
#76287E #7E4B28 #307E28 #285B7E
square
#76287E #7E4B28 #307E28 #285B7E
split-complementary
#76287E #5B7E28 #287E4B
monochromatic
#1F0B21 #4A1950 #76287E #A237AC #BF57CA

Accessibility & contrast

On white

8.84
#76287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#76287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76287E
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76287E#FFFFFF#000000##FFFFFF
##76287E1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144481
Deuteranopia (green-blind)
#364D7C
Tritanopia (blue-blind)
#78364F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76287e;
/* rgb */ color: rgb(118, 40, 126);
/* oklch */ color: oklch(42.9% 0.154 323.9);
Tailwind
colors: {
  custom: {
    50: '#a069a4',
    500: '#76287e',
    950: '#000000',
  },
}
SCSS
$custom: #76287e;
$custom-light: #a069a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76287e",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 294.419,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42949,
    "c": 0.15365,
    "h": 323.9
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#76287E
secondary
#5CAF53
accent
#DB4D5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #76287E

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

Preview Lab → · Contrast checker → · Palette generator →

#76287E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva