#76277A#76277A

#76277A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.151 H 325.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#76277A
RGBrgb(118, 39, 122)
HSLhsl(297, 52%, 32%)
HSVhsv(297, 68%, 48%)
CMYKcmyk(3.3%, 68%, 0%, 52.2%)
CIE-LABlab(31.13, 45.63, -30.67)
CIE-LCHlch(31.13, 54.98, 326.09°)
OKLaboklab(42.59% 0.1253 -0.085)
OKLCHoklch(42.59% 0.151 325.8)
XYZxyz(11.7093, 6.7085, 19.0867)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76277A #2B7A27
analogous
#4D277A #76277A #7A2755
triadic
#76277A #7A7627 #277A76
tetradic
#76277A #7A4D27 #2B7A27 #27557A
square
#76277A #7A4D27 #2B7A27 #27557A
split-complementary
#76277A #557A27 #277A4D
monochromatic
#1C091D #49184C #76277A #A336A8 #C253C8

Accessibility & contrast

On white

8.97
#76277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#76277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76277A
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76277A#FFFFFF#000000##FFFFFF
##76277A1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437C
Deuteranopia (green-blind)
#384D78
Tritanopia (blue-blind)
#79334D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #76277a;
/* rgb */ color: rgb(118, 39, 122);
/* oklch */ color: oklch(42.6% 0.151 325.8);
Tailwind
colors: {
  custom: {
    50: '#a068a1',
    500: '#76277a',
    950: '#000000',
  },
}
SCSS
$custom: #76277a;
$custom-light: #a068a1;
$custom-dark: #000000;
JSON
{
  "hex": "#76277a",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 297.108,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42592,
    "c": 0.15139,
    "h": 325.8
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#76277A
secondary
#55AC51
accent
#DB4D54
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #76277A

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

Preview Lab → · Contrast checker → · Palette generator →

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