#76288C#76288C

#76288C is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.167 H 317.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#76288C
RGBrgb(118, 40, 140)
HSLhsl(287, 56%, 35%)
HSVhsv(287, 71%, 55%)
CMYKcmyk(15.7%, 71.4%, 0%, 45.1%)
CIE-LABlab(32.40, 48.76, -39.87)
CIE-LCHlch(32.40, 62.98, 320.72°)
OKLaboklab(43.86% 0.1237 -0.1119)
OKLCHoklch(43.86% 0.167 317.9)
XYZxyz(12.9630, 7.2631, 25.5250)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76288C #3E8C28
analogous
#44288C #76288C #8C2870
triadic
#76288C #8C7628 #288C76
tetradic
#76288C #8C4428 #3E8C28 #28708C
square
#76288C #8C4428 #3E8C28 #28708C
split-complementary
#76288C #708C28 #288C44
monochromatic
#260D2D #4E1A5C #76288C #9E36BC #B75ED1

Accessibility & contrast

On white

8.56
#76288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#76288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76288C
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76288C#FFFFFF#000000##FFFFFF
##76288C1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#2C4F8A
Tritanopia (blue-blind)
#753B57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #76288c;
/* rgb */ color: rgb(118, 40, 140);
/* oklch */ color: oklch(43.9% 0.167 317.9);
Tailwind
colors: {
  custom: {
    50: '#a169ae',
    500: '#76288c',
    950: '#000000',
  },
}
SCSS
$custom: #76288c;
$custom-light: #a169ae;
$custom-dark: #000000;
JSON
{
  "hex": "#76288c",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 286.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43858,
    "c": 0.16682,
    "h": 317.9
  },
  "luminance": 0.07263
}

Semantic roles & 50–950 ramp

primary
#76288C
secondary
#6EB65A
accent
#DF496A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76288C

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

Preview Lab → · Contrast checker → · Palette generator →

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