#76228E#76228E

#76228E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.176 H 317.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#76228E
RGBrgb(118, 34, 142)
HSLhsl(287, 61%, 35%)
HSVhsv(287, 76%, 56%)
CMYKcmyk(16.9%, 76.1%, 0%, 44.3%)
CIE-LABlab(31.69, 51.55, -42.24)
CIE-LCHlch(31.69, 66.65, 320.67°)
OKLaboklab(43.4% 0.1297 -0.1188)
OKLCHoklch(43.4% 0.176 317.5)
XYZxyz(12.9250, 6.9492, 26.2464)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76228E #3A8E22
analogous
#40228E #76228E #8E2270
triadic
#76228E #8E7622 #228E76
tetradic
#76228E #8E4022 #3A8E22 #22708E
square
#76228E #8E4022 #3A8E22 #22708E
split-complementary
#76228E #708E22 #228E40
monochromatic
#240A2B #4D165D #76228E #9F2EBF #B954D6

Accessibility & contrast

On white

8.79
#76228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#76228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76228E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76228E#FFFFFF#000000##FFFFFF
##76228E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#254D8C
Tritanopia (blue-blind)
#753956
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #76228e;
/* rgb */ color: rgb(118, 34, 142);
/* oklch */ color: oklch(43.4% 0.176 317.5);
Tailwind
colors: {
  custom: {
    50: '#a166b0',
    500: '#76228e',
    950: '#000000',
  },
}
SCSS
$custom: #76228e;
$custom-light: #a166b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76228e",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 286.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43397,
    "c": 0.17591,
    "h": 317.5
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#76228E
secondary
#69BA52
accent
#E44367
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76228E

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

Preview Lab → · Contrast checker → · Palette generator →

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