#76277D#76277D

#76277D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.154 H 324.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#76277D
RGBrgb(118, 39, 125)
HSLhsl(295, 52%, 32%)
HSVhsv(295, 69%, 49%)
CMYKcmyk(5.6%, 68.8%, 0%, 51%)
CIE-LABlab(31.31, 46.20, -32.27)
CIE-LCHlch(31.31, 56.35, 325.06°)
OKLaboklab(42.78% 0.1253 -0.0897)
OKLCHoklch(42.78% 0.154 324.4)
XYZxyz(11.8981, 6.7840, 20.0808)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76277D #2E7D27
analogous
#4B277D #76277D #7D2759
triadic
#76277D #7D7627 #277D76
tetradic
#76277D #7D4B27 #2E7D27 #27597D
square
#76277D #7D4B27 #2E7D27 #27597D
split-complementary
#76277D #597D27 #277D4B
monochromatic
#1E0A20 #4A184E #76277D #A236AC #C055CA

Accessibility & contrast

On white

8.91
#76277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#76277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76277D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76277D#FFFFFF#000000##FFFFFF
##76277D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144480
Deuteranopia (green-blind)
#364D7B
Tritanopia (blue-blind)
#78344F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76277d;
/* rgb */ color: rgb(118, 39, 125);
/* oklch */ color: oklch(42.8% 0.154 324.4);
Tailwind
colors: {
  custom: {
    50: '#a068a3',
    500: '#76277d',
    950: '#000000',
  },
}
SCSS
$custom: #76277d;
$custom-light: #a068a3;
$custom-dark: #000000;
JSON
{
  "hex": "#76277d",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 295.116,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.15411,
    "h": 324.4
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#76277D
secondary
#59AF51
accent
#DC4C58
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #76277D

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

Preview Lab → · Contrast checker → · Palette generator →

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