#76218D#76218D

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

Color values

HEX#76218D
RGBrgb(118, 33, 141)
HSLhsl(287, 62%, 34%)
HSVhsv(287, 77%, 55%)
CMYKcmyk(16.3%, 76.6%, 0%, 44.7%)
CIE-LABlab(31.49, 51.72, -41.95)
CIE-LCHlch(31.49, 66.60, 320.96°)
OKLaboklab(43.24% 0.1308 -0.1179)
OKLCHoklch(43.24% 0.176 318)
XYZxyz(12.8221, 6.8629, 25.8434)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76218D #388D21
analogous
#40218D #76218D #8D216E
triadic
#76218D #8D7621 #218D76
tetradic
#76218D #8D4021 #388D21 #216E8D
square
#76218D #8D4021 #388D21 #216E8D
split-complementary
#76218D #6E8D21 #218D40
monochromatic
#230A2A #4C155B #76218D #A02DBF #BA52D6

Accessibility & contrast

On white

8.85
#76218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#76218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76218D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76218D#FFFFFF#000000##FFFFFF
##76218D1.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)
#004590
Deuteranopia (green-blind)
#254D8B
Tritanopia (blue-blind)
#753856
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76218d;
/* rgb */ color: rgb(118, 33, 141);
/* oklch */ color: oklch(43.2% 0.176 318.0);
Tailwind
colors: {
  custom: {
    50: '#a166af',
    500: '#76218d',
    950: '#000000',
  },
}
SCSS
$custom: #76218d;
$custom-light: #a166af;
$custom-dark: #000000;
JSON
{
  "hex": "#76218d",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 287.222,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43235,
    "c": 0.17611,
    "h": 318
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#76218D
secondary
#66BA50
accent
#E54365
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76218D

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

Preview Lab → · Contrast checker → · Palette generator →

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