#77127F#77127F

#77127F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.179 H 324.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#77127F
RGBrgb(119, 18, 127)
HSLhsl(296, 75%, 28%)
HSVhsv(296, 86%, 50%)
CMYKcmyk(6.3%, 85.8%, 0%, 50.2%)
CIE-LABlab(29.13, 53.89, -37.00)
CIE-LCHlch(29.13, 65.37, 325.52°)
OKLaboklab(41.29% 0.146 -0.1033)
OKLCHoklch(41.29% 0.179 324.7)
XYZxyz(11.6545, 5.8876, 20.5971)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77127F #1A7F12
analogous
#40127F #77127F #7F1250
triadic
#77127F #7F7712 #127F77
tetradic
#77127F #7F4012 #1A7F12 #12507F
square
#77127F #7F4012 #1A7F12 #12507F
split-complementary
#77127F #507F12 #127F40
monochromatic
#19041B #450A49 #77127F #A91AB5 #D32BE1

Accessibility & contrast

On white

9.64
#77127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#77127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77127F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77127F#FFFFFF#000000##FFFFFF
##77127F1.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)
#003D82
Deuteranopia (green-blind)
#2B497D
Tritanopia (blue-blind)
#7A294B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #77127f;
/* rgb */ color: rgb(119, 18, 127);
/* oklch */ color: oklch(41.3% 0.179 324.7);
Tailwind
colors: {
  custom: {
    50: '#a260a5',
    500: '#77127f',
    950: '#000000',
  },
}
SCSS
$custom: #77127f;
$custom-light: #a260a5;
$custom-dark: #000000;
JSON
{
  "hex": "#77127f",
  "rgb": {
    "r": 119,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 295.596,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41294,
    "c": 0.17883,
    "h": 324.7
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#77127F
secondary
#41B538
accent
#F23644
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #77127F

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

Preview Lab → · Contrast checker → · Palette generator →

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