#76287D#76287D

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

Color values

HEX#76287D
RGBrgb(118, 40, 125)
HSLhsl(295, 52%, 32%)
HSVhsv(295, 68%, 49%)
CMYKcmyk(5.6%, 68%, 0%, 51%)
CIE-LABlab(31.46, 45.77, -32.03)
CIE-LCHlch(31.46, 55.86, 325.02°)
OKLaboklab(42.89% 0.1241 -0.089)
OKLCHoklch(42.89% 0.153 324.4)
XYZxyz(11.9314, 6.8505, 20.0919)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76287D #2F7D28
analogous
#4C287D #76287D #7D2859
triadic
#76287D #7D7628 #287D76
tetradic
#76287D #7D4C28 #2F7D28 #28597D
square
#76287D #7D4C28 #2F7D28 #28597D
split-complementary
#76287D #597D28 #287D4C
monochromatic
#1E0A20 #4A194F #76287D #A237AB #C056C9

Accessibility & contrast

On white

8.86
#76287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#76287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76287D
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76287D#FFFFFF#000000##FFFFFF
##76287D1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447F
Deuteranopia (green-blind)
#374D7B
Tritanopia (blue-blind)
#78354F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76287d;
/* rgb */ color: rgb(118, 40, 125);
/* oklch */ color: oklch(42.9% 0.153 324.4);
Tailwind
colors: {
  custom: {
    50: '#a069a3',
    500: '#76287d',
    950: '#000000',
  },
}
SCSS
$custom: #76287d;
$custom-light: #a069a3;
$custom-dark: #000000;
JSON
{
  "hex": "#76287d",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 295.059,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.15273,
    "h": 324.4
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#76287D
secondary
#5AAE53
accent
#DB4D59
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #76287D

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

Preview Lab → · Contrast checker → · Palette generator →

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