#76218A#76218A

#76218A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.173 H 319.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#76218A
RGBrgb(118, 33, 138)
HSLhsl(289, 61%, 34%)
HSVhsv(289, 76%, 54%)
CMYKcmyk(14.5%, 76.1%, 0%, 45.9%)
CIE-LABlab(31.29, 51.13, -40.42)
CIE-LCHlch(31.29, 65.17, 321.67°)
OKLaboklab(43.03% 0.1311 -0.1134)
OKLCHoklch(43.03% 0.173 319.1)
XYZxyz(12.6019, 6.7749, 24.6837)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76218A #358A21
analogous
#41218A #76218A #8A2169
triadic
#76218A #8A7621 #218A76
tetradic
#76218A #8A4121 #358A21 #21698A
square
#76218A #8A4121 #358A21 #21698A
split-complementary
#76218A #698A21 #218A41
monochromatic
#220927 #4C1559 #76218A #A02DBB #BC50D5

Accessibility & contrast

On white

8.92
#76218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#76218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76218A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76218A#FFFFFF#000000##FFFFFF
##76218A1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#294C88
Tritanopia (blue-blind)
#763654
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76218a;
/* rgb */ color: rgb(118, 33, 138);
/* oklch */ color: oklch(43.0% 0.173 319.1);
Tailwind
colors: {
  custom: {
    50: '#a166ad',
    500: '#76218a',
    950: '#000000',
  },
}
SCSS
$custom: #76218a;
$custom-light: #a166ad;
$custom-dark: #000000;
JSON
{
  "hex": "#76218a",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 288.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.1734,
    "h": 319.1
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#76218A
secondary
#63B94E
accent
#E54362
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76218A

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

Preview Lab → · Contrast checker → · Palette generator →

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