#76278C#76278C

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

Color values

HEX#76278C
RGBrgb(118, 39, 140)
HSLhsl(287, 56%, 35%)
HSVhsv(287, 72%, 55%)
CMYKcmyk(15.7%, 72.1%, 0%, 45.1%)
CIE-LABlab(32.25, 49.17, -40.11)
CIE-LCHlch(32.25, 63.46, 320.80°)
OKLaboklab(43.75% 0.1248 -0.1126)
OKLCHoklch(43.75% 0.168 317.9)
XYZxyz(12.9297, 7.1966, 25.5139)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76278C #3D8C27
analogous
#44278C #76278C #8C276F
triadic
#76278C #8C7627 #278C76
tetradic
#76278C #8C4427 #3D8C27 #276F8C
square
#76278C #8C4427 #3D8C27 #276F8C
split-complementary
#76278C #6F8C27 #278C44
monochromatic
#250C2C #4E1A5C #76278C #9E34BC #B85CD2

Accessibility & contrast

On white

8.61
#76278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#76278C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76278C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76278C#FFFFFF#000000##FFFFFF
##76278C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #76278c;
/* rgb */ color: rgb(118, 39, 140);
/* oklch */ color: oklch(43.8% 0.168 317.9);
Tailwind
colors: {
  custom: {
    50: '#a169ae',
    500: '#76278c',
    950: '#000000',
  },
}
SCSS
$custom: #76278c;
$custom-light: #a169ae;
$custom-dark: #000000;
JSON
{
  "hex": "#76278c",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 286.931,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43752,
    "c": 0.16808,
    "h": 317.9
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#76278C
secondary
#6DB758
accent
#E04869
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76278C

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

Preview Lab → · Contrast checker → · Palette generator →

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