#76277B#76277B

#76277B is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.152 H 325.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#76277B
RGBrgb(118, 39, 123)
HSLhsl(296, 52%, 32%)
HSVhsv(296, 68%, 48%)
CMYKcmyk(4.1%, 68.3%, 0%, 51.8%)
CIE-LABlab(31.19, 45.82, -31.20)
CIE-LCHlch(31.19, 55.43, 325.74°)
OKLaboklab(42.65% 0.1253 -0.0866)
OKLCHoklch(42.65% 0.152 325.3)
XYZxyz(11.7716, 6.7334, 19.4147)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76277B #2C7B27
analogous
#4C277B #76277B #7B2756
triadic
#76277B #7B7627 #277B76
tetradic
#76277B #7B4C27 #2C7B27 #27567B
square
#76277B #7B4C27 #2C7B27 #27567B
split-complementary
#76277B #567B27 #277B4C
monochromatic
#1D0A1E #49184D #76277B #A336A9 #C254C9

Accessibility & contrast

On white

8.95
#76277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76277B
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76277B#FFFFFF#000000##FFFFFF
##76277B1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437D
Deuteranopia (green-blind)
#374D79
Tritanopia (blue-blind)
#79344D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #76277b;
/* rgb */ color: rgb(118, 39, 123);
/* oklch */ color: oklch(42.7% 0.152 325.3);
Tailwind
colors: {
  custom: {
    50: '#a068a1',
    500: '#76277b',
    950: '#000000',
  },
}
SCSS
$custom: #76277b;
$custom-light: #a068a1;
$custom-dark: #000000;
JSON
{
  "hex": "#76277b",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 296.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42653,
    "c": 0.15229,
    "h": 325.3
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#76277B
secondary
#56AD51
accent
#DB4C55
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76277B

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

Preview Lab → · Contrast checker → · Palette generator →

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