#77127E#77127E

#77127E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.178 H 325.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#77127E
RGBrgb(119, 18, 126)
HSLhsl(296, 75%, 28%)
HSVhsv(296, 86%, 49%)
CMYKcmyk(5.6%, 85.7%, 0%, 50.6%)
CIE-LABlab(29.06, 53.71, -36.48)
CIE-LCHlch(29.06, 64.93, 325.82°)
OKLaboklab(41.23% 0.1461 -0.1018)
OKLCHoklch(41.23% 0.178 325.1)
XYZxyz(11.5897, 5.8617, 20.2556)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77127E #197E12
analogous
#41127E #77127E #7E124F
triadic
#77127E #7E7712 #127E77
tetradic
#77127E #7E4112 #197E12 #124F7E
square
#77127E #7E4112 #197E12 #124F7E
split-complementary
#77127E #4F7E12 #127E41
monochromatic
#19041B #440A48 #77127E #AA1AB4 #D52AE1

Accessibility & contrast

On white

9.67
#77127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#77127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77127E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77127E#FFFFFF#000000##FFFFFF
##77127E1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#2C487C
Tritanopia (blue-blind)
#7A294A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #77127e;
/* rgb */ color: rgb(119, 18, 126);
/* oklch */ color: oklch(41.2% 0.178 325.1);
Tailwind
colors: {
  custom: {
    50: '#a260a4',
    500: '#77127e',
    950: '#000000',
  },
}
SCSS
$custom: #77127e;
$custom-light: #a260a4;
$custom-dark: #000000;
JSON
{
  "hex": "#77127e",
  "rgb": {
    "r": 119,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 296.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41226,
    "c": 0.17804,
    "h": 325.1
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#77127E
secondary
#40B438
accent
#F23642
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #77127E

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

Preview Lab → · Contrast checker → · Palette generator →

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