#76278D#76278D

#76278D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.169 H 317.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#76278D
RGBrgb(118, 39, 141)
HSLhsl(286, 57%, 35%)
HSVhsv(286, 72%, 55%)
CMYKcmyk(16.3%, 72.3%, 0%, 44.7%)
CIE-LABlab(32.32, 49.38, -40.62)
CIE-LCHlch(32.32, 63.94, 320.56°)
OKLaboklab(43.82% 0.1247 -0.1141)
OKLCHoklch(43.82% 0.169 317.5)
XYZxyz(13.0038, 7.2262, 25.9040)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76278D #3E8D27
analogous
#43278D #76278D #8D2771
triadic
#76278D #8D7627 #278D76
tetradic
#76278D #8D4327 #3E8D27 #27718D
square
#76278D #8D4327 #3E8D27 #27718D
split-complementary
#76278D #718D27 #278D43
monochromatic
#260C2D #4E1A5D #76278D #9E34BD #B75CD2

Accessibility & contrast

On white

8.59
#76278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#76278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76278D
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76278D#FFFFFF#000000##FFFFFF
##76278D1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#2A4E8B
Tritanopia (blue-blind)
#753B57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #76278d;
/* rgb */ color: rgb(118, 39, 141);
/* oklch */ color: oklch(43.8% 0.169 317.5);
Tailwind
colors: {
  custom: {
    50: '#a169af',
    500: '#76278d',
    950: '#000000',
  },
}
SCSS
$custom: #76278d;
$custom-light: #a169af;
$custom-dark: #000000;
JSON
{
  "hex": "#76278d",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 286.471,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43821,
    "c": 0.16903,
    "h": 317.5
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#76278D
secondary
#6EB759
accent
#E0486A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76278D

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

Preview Lab → · Contrast checker → · Palette generator →

#76278D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva