#76278B#76278B

#76278B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.167 H 318.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#76278B
RGBrgb(118, 39, 139)
HSLhsl(287, 56%, 35%)
HSVhsv(287, 72%, 55%)
CMYKcmyk(15.1%, 71.9%, 0%, 45.5%)
CIE-LABlab(32.18, 48.97, -39.60)
CIE-LCHlch(32.18, 62.98, 321.04°)
OKLaboklab(43.69% 0.1249 -0.1111)
OKLCHoklch(43.69% 0.167 318.3)
XYZxyz(12.8563, 7.1672, 25.1273)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76278B #3C8B27
analogous
#44278B #76278B #8B276E
triadic
#76278B #8B7627 #278B76
tetradic
#76278B #8B4427 #3C8B27 #276E8B
square
#76278B #8B4427 #3C8B27 #276E8B
split-complementary
#76278B #6E8B27 #278B44
monochromatic
#250C2B #4D1A5B #76278B #9F34BB #B85BD1

Accessibility & contrast

On white

8.63
#76278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#76278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76278B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76278B#FFFFFF#000000##FFFFFF
##76278B1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#763A56
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #76278b;
/* rgb */ color: rgb(118, 39, 139);
/* oklch */ color: oklch(43.7% 0.167 318.3);
Tailwind
colors: {
  custom: {
    50: '#a169ad',
    500: '#76278b',
    950: '#000000',
  },
}
SCSS
$custom: #76278b;
$custom-light: #a169ad;
$custom-dark: #000000;
JSON
{
  "hex": "#76278b",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 287.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.16713,
    "h": 318.3
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#76278B
secondary
#6CB658
accent
#DF4868
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76278B

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

Preview Lab → · Contrast checker → · Palette generator →

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