#77158D#77158D

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

Color values

HEX#77158D
RGBrgb(119, 21, 141)
HSLhsl(289, 74%, 32%)
HSVhsv(289, 85%, 55%)
CMYKcmyk(15.6%, 85.1%, 0%, 44.7%)
CIE-LABlab(30.36, 55.69, -43.77)
CIE-LCHlch(30.36, 70.83, 321.84°)
OKLaboklab(42.47% 0.1419 -0.1232)
OKLCHoklch(42.47% 0.188 319)
XYZxyz(12.6830, 6.3820, 25.7579)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77158D #2B8D15
analogous
#3B158D #77158D #8D1567
triadic
#77158D #8D7715 #158D77
tetradic
#77158D #8D3B15 #2B8D15 #15678D
square
#77158D #8D3B15 #2B8D15 #15678D
split-complementary
#77158D #678D15 #158D3B
monochromatic
#1D0522 #4A0D58 #77158D #A41DC2 #C33BE2

Accessibility & contrast

On white

9.23
#77158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#77158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77158D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77158D#FFFFFF#000000##FFFFFF
##77158D1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#1F4A8B
Tritanopia (blue-blind)
#773253
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #77158d;
/* rgb */ color: rgb(119, 21, 141);
/* oklch */ color: oklch(42.5% 0.188 319.0);
Tailwind
colors: {
  custom: {
    50: '#a262af',
    500: '#77158d',
    950: '#000000',
  },
}
SCSS
$custom: #77158d;
$custom-light: #a262af;
$custom-dark: #000000;
JSON
{
  "hex": "#77158d",
  "rgb": {
    "r": 119,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 289,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.18786,
    "h": 319
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#77158D
secondary
#55C13D
accent
#F13759
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #77158D

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

Preview Lab → · Contrast checker → · Palette generator →

#77158D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva