#77158E#77158E

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

Color values

HEX#77158E
RGBrgb(119, 21, 142)
HSLhsl(289, 74%, 32%)
HSVhsv(289, 85%, 56%)
CMYKcmyk(16.2%, 85.2%, 0%, 44.3%)
CIE-LABlab(30.43, 55.88, -44.27)
CIE-LCHlch(30.43, 71.29, 321.61°)
OKLaboklab(42.54% 0.1417 -0.1246)
OKLCHoklch(42.54% 0.189 318.7)
XYZxyz(12.7577, 6.4119, 26.1516)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77158E #2C8E15
analogous
#3B158E #77158E #8E1569
triadic
#77158E #8E7715 #158E77
tetradic
#77158E #8E3B15 #2C8E15 #15698E
square
#77158E #8E3B15 #2C8E15 #15698E
split-complementary
#77158E #698E15 #158E3B
monochromatic
#1E0523 #4A0D59 #77158E #A41DC3 #C23BE2

Accessibility & contrast

On white

9.20
#77158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #77158E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77158E#FFFFFF#000000##FFFFFF
##77158E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#1D4B8C
Tritanopia (blue-blind)
#763254
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77158e;
/* rgb */ color: rgb(119, 21, 142);
/* oklch */ color: oklch(42.5% 0.189 318.7);
Tailwind
colors: {
  custom: {
    50: '#a262b0',
    500: '#77158e',
    950: '#000000',
  },
}
SCSS
$custom: #77158e;
$custom-light: #a262b0;
$custom-dark: #000000;
JSON
{
  "hex": "#77158e",
  "rgb": {
    "r": 119,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 288.595,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4254,
    "c": 0.1887,
    "h": 318.7
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#77158E
secondary
#56C23D
accent
#F1375A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #77158E

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

Preview Lab → · Contrast checker → · Palette generator →

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