#76228D#76228D

#76228D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.175 H 317.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#76228D
RGBrgb(118, 34, 141)
HSLhsl(287, 61%, 34%)
HSVhsv(287, 76%, 55%)
CMYKcmyk(16.3%, 75.9%, 0%, 44.7%)
CIE-LABlab(31.62, 51.35, -41.74)
CIE-LCHlch(31.62, 66.18, 320.90°)
OKLaboklab(43.33% 0.1298 -0.1173)
OKLCHoklch(43.33% 0.175 317.9)
XYZxyz(12.8503, 6.9193, 25.8528)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76228D #398D22
analogous
#41228D #76228D #8D226F
triadic
#76228D #8D7622 #228D76
tetradic
#76228D #8D4122 #398D22 #226F8D
square
#76228D #8D4122 #398D22 #226F8D
split-complementary
#76228D #6F8D22 #228D41
monochromatic
#230A2A #4D165C #76228D #9F2EBE #BA54D6

Accessibility & contrast

On white

8.81
#76228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#76228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76228D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76228D#FFFFFF#000000##FFFFFF
##76228D1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#264D8B
Tritanopia (blue-blind)
#753856
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76228d;
/* rgb */ color: rgb(118, 34, 141);
/* oklch */ color: oklch(43.3% 0.175 317.9);
Tailwind
colors: {
  custom: {
    50: '#a166af',
    500: '#76228d',
    950: '#000000',
  },
}
SCSS
$custom: #76228d;
$custom-light: #a166af;
$custom-dark: #000000;
JSON
{
  "hex": "#76228d",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 287.103,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43327,
    "c": 0.17499,
    "h": 317.9
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#76228D
secondary
#68B951
accent
#E44466
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76228D

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

Preview Lab → · Contrast checker → · Palette generator →

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