#76228B#76228B

#76228B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.173 H 318.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#76228B
RGBrgb(118, 34, 139)
HSLhsl(288, 61%, 34%)
HSVhsv(288, 76%, 55%)
CMYKcmyk(15.1%, 75.5%, 0%, 45.5%)
CIE-LABlab(31.49, 50.95, -40.72)
CIE-LCHlch(31.49, 65.22, 321.37°)
OKLaboklab(43.19% 0.1301 -0.1143)
OKLCHoklch(43.19% 0.173 318.7)
XYZxyz(12.7028, 6.8603, 25.0761)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76228B #378B22
analogous
#42228B #76228B #8B226C
triadic
#76228B #8B7622 #228B76
tetradic
#76228B #8B4222 #378B22 #226C8B
square
#76228B #8B4222 #378B22 #226C8B
split-complementary
#76228B #6C8B22 #228B42
monochromatic
#230A29 #4C165A #76228B #A02EBC #BB53D5

Accessibility & contrast

On white

8.85
#76228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#76228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76228B
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76228B#FFFFFF#000000##FFFFFF
##76228B1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#284D89
Tritanopia (blue-blind)
#763755
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76228b;
/* rgb */ color: rgb(118, 34, 139);
/* oklch */ color: oklch(43.2% 0.173 318.7);
Tailwind
colors: {
  custom: {
    50: '#a166ad',
    500: '#76228b',
    950: '#000000',
  },
}
SCSS
$custom: #76228b;
$custom-light: #a166ad;
$custom-dark: #000000;
JSON
{
  "hex": "#76228b",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 288,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43187,
    "c": 0.17317,
    "h": 318.7
  },
  "luminance": 0.0686
}

Semantic roles & 50–950 ramp

primary
#76228B
secondary
#65B850
accent
#E44464
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76228B

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

Preview Lab → · Contrast checker → · Palette generator →

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