#76288E#76288E

#76288E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.169 H 317.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#76288E
RGBrgb(118, 40, 142)
HSLhsl(286, 56%, 36%)
HSVhsv(286, 72%, 56%)
CMYKcmyk(16.9%, 71.8%, 0%, 44.3%)
CIE-LABlab(32.53, 49.17, -40.90)
CIE-LCHlch(32.53, 63.95, 320.25°)
OKLaboklab(44% 0.1236 -0.1149)
OKLCHoklch(44% 0.169 317.1)
XYZxyz(13.1118, 7.3227, 26.3087)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76288E #408E28
analogous
#43288E #76288E #8E2873
triadic
#76288E #8E7628 #288E76
tetradic
#76288E #8E4328 #408E28 #28738E
square
#76288E #8E4328 #408E28 #28738E
split-complementary
#76288E #738E28 #288E43
monochromatic
#270D2F #4E1B5E #76288E #9E35BE #B75FD2

Accessibility & contrast

On white

8.52
#76288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#76288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76288E
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76288E#FFFFFF#000000##FFFFFF
##76288E1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#753C58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #76288e;
/* rgb */ color: rgb(118, 40, 142);
/* oklch */ color: oklch(44.0% 0.169 317.1);
Tailwind
colors: {
  custom: {
    50: '#a169b0',
    500: '#76288e',
    950: '#000000',
  },
}
SCSS
$custom: #76288e;
$custom-light: #a169b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76288e",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 285.882,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43995,
    "c": 0.16872,
    "h": 317.1
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#76288E
secondary
#70B75B
accent
#DF486C
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76288E

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

Preview Lab → · Contrast checker → · Palette generator →

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