#76287A#76287A

#76287A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.150 H 325.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#76287A
RGBrgb(118, 40, 122)
HSLhsl(297, 51%, 32%)
HSVhsv(297, 67%, 48%)
CMYKcmyk(3.3%, 67.2%, 0%, 52.2%)
CIE-LABlab(31.29, 45.19, -30.42)
CIE-LCHlch(31.29, 54.48, 326.06°)
OKLaboklab(42.7% 0.124 -0.0843)
OKLCHoklch(42.7% 0.15 325.8)
XYZxyz(11.7426, 6.7750, 19.0978)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76287A #2C7A28
analogous
#4D287A #76287A #7A2855
triadic
#76287A #7A7628 #287A76
tetradic
#76287A #7A4D28 #2C7A28 #28557A
square
#76287A #7A4D28 #2C7A28 #28557A
split-complementary
#76287A #557A28 #287A4D
monochromatic
#1D0A1E #49194C #76287A #A337A8 #C255C7

Accessibility & contrast

On white

8.92
#76287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#76287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76287A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76287A#FFFFFF#000000##FFFFFF
##76287A1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437C
Deuteranopia (green-blind)
#394D78
Tritanopia (blue-blind)
#79344D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76287a;
/* rgb */ color: rgb(118, 40, 122);
/* oklch */ color: oklch(42.7% 0.150 325.8);
Tailwind
colors: {
  custom: {
    50: '#a069a1',
    500: '#76287a',
    950: '#000000',
  },
}
SCSS
$custom: #76287a;
$custom-light: #a069a1;
$custom-dark: #000000;
JSON
{
  "hex": "#76287a",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 297.073,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42704,
    "c": 0.14999,
    "h": 325.8
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#76287A
secondary
#56AC52
accent
#DA4E55
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #76287A

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

Preview Lab → · Contrast checker → · Palette generator →

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