#76287C#76287C

#76287C is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.152 H 324.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#76287C
RGBrgb(118, 40, 124)
HSLhsl(296, 51%, 32%)
HSVhsv(296, 68%, 49%)
CMYKcmyk(4.8%, 67.7%, 0%, 51.4%)
CIE-LABlab(31.41, 45.57, -31.49)
CIE-LCHlch(31.41, 55.40, 325.35°)
OKLaboklab(42.83% 0.1241 -0.0874)
OKLCHoklch(42.83% 0.152 324.8)
XYZxyz(11.8678, 6.8251, 19.7571)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76287C #2E7C28
analogous
#4C287C #76287C #7C2858
triadic
#76287C #7C7628 #287C76
tetradic
#76287C #7C4C28 #2E7C28 #28587C
square
#76287C #7C4C28 #2E7C28 #28587C
split-complementary
#76287C #587C28 #287C4C
monochromatic
#1E0A1F #4A194E #76287C #A237AA #C056C8

Accessibility & contrast

On white

8.88
#76287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#76287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76287C
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76287C#FFFFFF#000000##FFFFFF
##76287C1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447E
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#79354E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76287c;
/* rgb */ color: rgb(118, 40, 124);
/* oklch */ color: oklch(42.8% 0.152 324.8);
Tailwind
colors: {
  custom: {
    50: '#a069a2',
    500: '#76287c',
    950: '#000000',
  },
}
SCSS
$custom: #76287c;
$custom-light: #a069a2;
$custom-dark: #000000;
JSON
{
  "hex": "#76287c",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 295.714,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42825,
    "c": 0.15182,
    "h": 324.8
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#76287C
secondary
#59AD52
accent
#DB4D57
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #76287C

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

Preview Lab → · Contrast checker → · Palette generator →

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