#76218B#76218B

#76218B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.174 H 318.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#76218B
RGBrgb(118, 33, 139)
HSLhsl(288, 62%, 34%)
HSVhsv(288, 76%, 55%)
CMYKcmyk(15.1%, 76.3%, 0%, 45.5%)
CIE-LABlab(31.36, 51.33, -40.93)
CIE-LCHlch(31.36, 65.65, 321.43°)
OKLaboklab(43.1% 0.131 -0.1149)
OKLCHoklch(43.1% 0.174 318.7)
XYZxyz(12.6746, 6.8039, 25.0668)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76218B #368B21
analogous
#41218B #76218B #8B216B
triadic
#76218B #8B7621 #218B76
tetradic
#76218B #8B4121 #368B21 #216B8B
square
#76218B #8B4121 #368B21 #216B8B
split-complementary
#76218B #6B8B21 #218B41
monochromatic
#220A28 #4C155A #76218B #A02DBC #BB51D6

Accessibility & contrast

On white

8.90
#76218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#76218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76218B
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76218B#FFFFFF#000000##FFFFFF
##76218B1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #76218b;
/* rgb */ color: rgb(118, 33, 139);
/* oklch */ color: oklch(43.1% 0.174 318.7);
Tailwind
colors: {
  custom: {
    50: '#a166ad',
    500: '#76218b',
    950: '#000000',
  },
}
SCSS
$custom: #76218b;
$custom-light: #a166ad;
$custom-dark: #000000;
JSON
{
  "hex": "#76218b",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 288.113,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43095,
    "c": 0.17431,
    "h": 318.7
  },
  "luminance": 0.06803
}

Semantic roles & 50–950 ramp

primary
#76218B
secondary
#64B94F
accent
#E54363
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76218B

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

Preview Lab → · Contrast checker → · Palette generator →

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