#76218F#76218F

#76218F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.178 H 317.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#76218F
RGBrgb(118, 33, 143)
HSLhsl(286, 63%, 35%)
HSVhsv(286, 77%, 56%)
CMYKcmyk(17.5%, 76.9%, 0%, 43.9%)
CIE-LABlab(31.63, 52.13, -42.96)
CIE-LCHlch(31.63, 67.55, 320.51°)
OKLaboklab(43.38% 0.1306 -0.1209)
OKLCHoklch(43.38% 0.178 317.2)
XYZxyz(12.9723, 6.9230, 26.6342)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76218F #3A8F21
analogous
#3F218F #76218F #8F2171
triadic
#76218F #8F7621 #218F76
tetradic
#76218F #8F3F21 #3A8F21 #21718F
square
#76218F #8F3F21 #3A8F21 #21718F
split-complementary
#76218F #718F21 #218F3F
monochromatic
#240A2C #4D165D #76218F #9F2CC1 #B953D7

Accessibility & contrast

On white

8.81
#76218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76218F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76218F#FFFFFF#000000##FFFFFF
##76218F1.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)
#004592
Deuteranopia (green-blind)
#234D8D
Tritanopia (blue-blind)
#753957
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76218f;
/* rgb */ color: rgb(118, 33, 143);
/* oklch */ color: oklch(43.4% 0.178 317.2);
Tailwind
colors: {
  custom: {
    50: '#a166b0',
    500: '#76218f',
    950: '#000000',
  },
}
SCSS
$custom: #76218f;
$custom-light: #a166b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76218f",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 286.364,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.17793,
    "h": 317.2
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#76218F
secondary
#69BB51
accent
#E64267
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #76218F

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

Preview Lab → · Contrast checker → · Palette generator →

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