#76277F#76277F

#76277F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.156 H 323.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#76277F
RGBrgb(118, 39, 127)
HSLhsl(294, 53%, 33%)
HSVhsv(294, 69%, 50%)
CMYKcmyk(7.1%, 69.3%, 0%, 50.2%)
CIE-LABlab(31.43, 46.58, -33.34)
CIE-LCHlch(31.43, 57.28, 324.41°)
OKLaboklab(42.9% 0.1253 -0.0928)
OKLCHoklch(42.9% 0.156 323.5)
XYZxyz(12.0271, 6.8356, 20.7605)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76277F #307F27
analogous
#4A277F #76277F #7F275C
triadic
#76277F #7F7627 #277F76
tetradic
#76277F #7F4A27 #307F27 #275C7F
square
#76277F #7F4A27 #307F27 #275C7F
split-complementary
#76277F #5C7F27 #277F4A
monochromatic
#1F0A21 #4A1950 #76277F #A235AE #BF55CB

Accessibility & contrast

On white

8.87
#76277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#76277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76277F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76277F#FFFFFF#000000##FFFFFF
##76277F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114482
Deuteranopia (green-blind)
#354D7D
Tritanopia (blue-blind)
#783550
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76277f;
/* rgb */ color: rgb(118, 39, 127);
/* oklch */ color: oklch(42.9% 0.156 323.5);
Tailwind
colors: {
  custom: {
    50: '#a068a4',
    500: '#76277f',
    950: '#000000',
  },
}
SCSS
$custom: #76277f;
$custom-light: #a068a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76277f",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 293.864,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.15594,
    "h": 323.5
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#76277F
secondary
#5CB052
accent
#DC4B5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #76277F

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

Preview Lab → · Contrast checker → · Palette generator →

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