#77157B#77157B

#77157B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.173 H 326.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#77157B
RGBrgb(119, 21, 123)
HSLhsl(298, 71%, 28%)
HSVhsv(298, 83%, 48%)
CMYKcmyk(3.3%, 82.9%, 0%, 51.8%)
CIE-LABlab(29.13, 52.42, -34.47)
CIE-LCHlch(29.13, 62.74, 326.67°)
OKLaboklab(41.21% 0.1442 -0.096)
OKLCHoklch(41.21% 0.173 326.4)
XYZxyz(11.4508, 5.8891, 19.2687)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77157B #197B15
analogous
#44157B #77157B #7B154C
triadic
#77157B #7B7715 #157B77
tetradic
#77157B #7B4415 #197B15 #154C7B
square
#77157B #7B4415 #197B15 #154C7B
split-complementary
#77157B #4C7B15 #157B44
monochromatic
#19041A #440C47 #77157B #AA1EAF #D52FDB

Accessibility & contrast

On white

9.64
#77157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#77157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77157B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77157B#FFFFFF#000000##FFFFFF
##77157B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#7A2949
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #77157b;
/* rgb */ color: rgb(119, 21, 123);
/* oklch */ color: oklch(41.2% 0.173 326.4);
Tailwind
colors: {
  custom: {
    50: '#a261a2',
    500: '#77157b',
    950: '#000000',
  },
}
SCSS
$custom: #77157b;
$custom-light: #a261a2;
$custom-dark: #000000;
JSON
{
  "hex": "#77157b",
  "rgb": {
    "r": 119,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 297.647,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41213,
    "c": 0.1732,
    "h": 326.4
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#77157B
secondary
#40B03B
accent
#EE3A41
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #77157B

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

Preview Lab → · Contrast checker → · Palette generator →

#77157B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva