#76287B#76287B

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

Color values

HEX#76287B
RGBrgb(118, 40, 123)
HSLhsl(296, 51%, 32%)
HSVhsv(296, 67%, 48%)
CMYKcmyk(4.1%, 67.5%, 0%, 51.8%)
CIE-LABlab(31.35, 45.38, -30.96)
CIE-LCHlch(31.35, 54.94, 325.70°)
OKLaboklab(42.76% 0.1241 -0.0859)
OKLCHoklch(42.76% 0.151 325.3)
XYZxyz(11.8049, 6.7999, 19.4258)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76287B #2D7B28
analogous
#4D287B #76287B #7B2856
triadic
#76287B #7B7628 #287B76
tetradic
#76287B #7B4D28 #2D7B28 #28567B
square
#76287B #7B4D28 #2D7B28 #28567B
split-complementary
#76287B #567B28 #287B4D
monochromatic
#1D0A1F #4A194D #76287B #A237A9 #C156C8

Accessibility & contrast

On white

8.90
#76287B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76287B
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76287B#FFFFFF#000000##FFFFFF
##76287B1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447D
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#79344E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76287b;
/* rgb */ color: rgb(118, 40, 123);
/* oklch */ color: oklch(42.8% 0.151 325.3);
Tailwind
colors: {
  custom: {
    50: '#a069a1',
    500: '#76287b',
    950: '#000000',
  },
}
SCSS
$custom: #76287b;
$custom-light: #a069a1;
$custom-dark: #000000;
JSON
{
  "hex": "#76287b",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 296.386,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42764,
    "c": 0.1509,
    "h": 325.3
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#76287B
secondary
#57AD52
accent
#DA4D56
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #76287B

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

Preview Lab → · Contrast checker → · Palette generator →

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