#79127E#79127E

#79127E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.179 H 326.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#79127E
RGBrgb(121, 18, 126)
HSLhsl(297, 75%, 28%)
HSVhsv(297, 86%, 49%)
CMYKcmyk(4%, 85.7%, 0%, 50.6%)
CIE-LABlab(29.42, 54.11, -35.88)
CIE-LCHlch(29.42, 64.92, 326.45°)
OKLaboklab(41.55% 0.1484 -0.1)
OKLCHoklch(41.55% 0.179 326)
XYZxyz(11.8671, 6.0048, 20.2686)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79127E #177E12
analogous
#43127E #79127E #7E124D
triadic
#79127E #7E7912 #127E79
tetradic
#79127E #7E4312 #177E12 #124D7E
square
#79127E #7E4312 #177E12 #124D7E
split-complementary
#79127E #4D7E12 #127E43
monochromatic
#1A041B #460A48 #79127E #AC1AB4 #D82AE1

Accessibility & contrast

On white

9.54
#79127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#79127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79127E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79127E#FFFFFF#000000##FFFFFF
##79127E1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#2F497C
Tritanopia (blue-blind)
#7C284A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #79127e;
/* rgb */ color: rgb(121, 18, 126);
/* oklch */ color: oklch(41.6% 0.179 326.0);
Tailwind
colors: {
  custom: {
    50: '#a360a4',
    500: '#79127e',
    950: '#000000',
  },
}
SCSS
$custom: #79127e;
$custom-light: #a360a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79127e",
  "rgb": {
    "r": 121,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 297.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41551,
    "c": 0.1789,
    "h": 326
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#79127E
secondary
#3EB438
accent
#F2363F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10050F
muted
#7F7A7F

Preview Lab

Preview with #79127E

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

Preview Lab → · Contrast checker → · Palette generator →

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