#76218E#76218E

#76218E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.177 H 317.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#76218E
RGBrgb(118, 33, 142)
HSLhsl(287, 62%, 34%)
HSVhsv(287, 77%, 56%)
CMYKcmyk(16.9%, 76.8%, 0%, 44.3%)
CIE-LABlab(31.56, 51.92, -42.45)
CIE-LCHlch(31.56, 67.07, 320.73°)
OKLaboklab(43.31% 0.1307 -0.1194)
OKLCHoklch(43.31% 0.177 317.6)
XYZxyz(12.8968, 6.8928, 26.2371)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76218E #398E21
analogous
#40218E #76218E #8E2170
triadic
#76218E #8E7621 #218E76
tetradic
#76218E #8E4021 #398E21 #21708E
square
#76218E #8E4021 #398E21 #21708E
split-complementary
#76218E #708E21 #218E40
monochromatic
#230A2B #4D155C #76218E #9F2DC0 #BA52D7

Accessibility & contrast

On white

8.83
#76218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#76218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76218E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76218E#FFFFFF#000000##FFFFFF
##76218E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#244D8C
Tritanopia (blue-blind)
#753856
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76218e;
/* rgb */ color: rgb(118, 33, 142);
/* oklch */ color: oklch(43.3% 0.177 317.6);
Tailwind
colors: {
  custom: {
    50: '#a166b0',
    500: '#76218e',
    950: '#000000',
  },
}
SCSS
$custom: #76218e;
$custom-light: #a166b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76218e",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 286.789,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.17702,
    "h": 317.6
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#76218E
secondary
#68BA50
accent
#E54266
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76218E

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

Preview Lab → · Contrast checker → · Palette generator →

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