#76277C#76277C

#76277C is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.153 H 324.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#76277C
RGBrgb(118, 39, 124)
HSLhsl(296, 52%, 32%)
HSVhsv(296, 69%, 49%)
CMYKcmyk(4.8%, 68.5%, 0%, 51.4%)
CIE-LABlab(31.25, 46.01, -31.74)
CIE-LCHlch(31.25, 55.89, 325.40°)
OKLaboklab(42.71% 0.1253 -0.0882)
OKLCHoklch(42.71% 0.153 324.9)
XYZxyz(11.8345, 6.7585, 19.7461)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76277C #2D7C27
analogous
#4C277C #76277C #7C2758
triadic
#76277C #7C7627 #277C76
tetradic
#76277C #7C4C27 #2D7C27 #27587C
square
#76277C #7C4C27 #2D7C27 #27587C
split-complementary
#76277C #587C27 #277C4C
monochromatic
#1D0A1F #4A184D #76277C #A236AB #C154C9

Accessibility & contrast

On white

8.93
#76277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#76277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76277C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76277C#FFFFFF#000000##FFFFFF
##76277C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437E
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#79344E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76277c;
/* rgb */ color: rgb(118, 39, 124);
/* oklch */ color: oklch(42.7% 0.153 324.9);
Tailwind
colors: {
  custom: {
    50: '#a068a2',
    500: '#76277c',
    950: '#000000',
  },
}
SCSS
$custom: #76277c;
$custom-light: #a068a2;
$custom-dark: #000000;
JSON
{
  "hex": "#76277c",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 295.765,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42714,
    "c": 0.15319,
    "h": 324.9
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#76277C
secondary
#57AE51
accent
#DC4C56
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76277C

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

Preview Lab → · Contrast checker → · Palette generator →

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