#76158F#76158F

#76158F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.189 H 317.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#76158F
RGBrgb(118, 21, 143)
HSLhsl(288, 74%, 32%)
HSVhsv(288, 85%, 56%)
CMYKcmyk(17.5%, 85.3%, 0%, 43.9%)
CIE-LABlab(30.33, 55.89, -45.05)
CIE-LCHlch(30.33, 71.79, 321.13°)
OKLaboklab(42.46% 0.1402 -0.127)
OKLCHoklch(42.46% 0.189 317.8)
XYZxyz(12.6966, 6.3717, 26.5423)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76158F #2E8F15
analogous
#39158F #76158F #8F156B
triadic
#76158F #8F7615 #158F76
tetradic
#76158F #8F3915 #2E8F15 #156B8F
square
#76158F #8F3915 #2E8F15 #156B8F
split-complementary
#76158F #6B8F15 #158F39
monochromatic
#1E0524 #4A0D5A #76158F #A21DC4 #C03CE2

Accessibility & contrast

On white

9.23
#76158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#76158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76158F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76158F#FFFFFF#000000##FFFFFF
##76158F1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#1A4A8D
Tritanopia (blue-blind)
#753354
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #76158f;
/* rgb */ color: rgb(118, 21, 143);
/* oklch */ color: oklch(42.5% 0.189 317.8);
Tailwind
colors: {
  custom: {
    50: '#a262b0',
    500: '#76158f',
    950: '#000000',
  },
}
SCSS
$custom: #76158f;
$custom-light: #a262b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76158f",
  "rgb": {
    "r": 118,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 287.705,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42462,
    "c": 0.18917,
    "h": 317.8
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#76158F
secondary
#59C23E
accent
#F1375D
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #76158F

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

Preview Lab → · Contrast checker → · Palette generator →

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