#7F1479#7F1479

#7F1479 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.176 H 330.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7F1479
RGBrgb(127, 20, 121)
HSLhsl(303, 73%, 29%)
HSVhsv(303, 84%, 50%)
CMYKcmyk(0%, 84.3%, 4.7%, 50.2%)
CIE-LABlab(30.39, 54.02, -31.12)
CIE-LCHlch(30.39, 62.34, 330.05°)
OKLaboklab(42.34% 0.1538 -0.086)
OKLCHoklch(42.34% 0.176 330.8)
XYZxyz(12.4537, 6.3938, 18.6637)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1479 #147F1A
analogous
#50147F #7F1479 #7F1444
triadic
#7F1479 #797F14 #14797F
tetradic
#7F1479 #7F5014 #147F1A #14447F
square
#7F1479 #7F5014 #147F1A #14447F
split-complementary
#7F1479 #447F14 #147F50
monochromatic
#1A0419 #4A0C47 #7F1479 #B41CAB #DE2FD4

Accessibility & contrast

On white

9.22
#7F1479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7F1479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1479
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1479#FFFFFF#000000##FFFFFF
##7F14791.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7C
Deuteranopia (green-blind)
#394C77
Tritanopia (blue-blind)
#842548
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f1479;
/* rgb */ color: rgb(127, 20, 121);
/* oklch */ color: oklch(42.3% 0.176 330.8);
Tailwind
colors: {
  custom: {
    50: '#a862a0',
    500: '#7f1479',
    950: '#000000',
  },
}
SCSS
$custom: #7f1479;
$custom-light: #a862a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1479",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 303.364,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4234,
    "c": 0.17623,
    "h": 330.8
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#7F1479
secondary
#3BB441
accent
#EF4338
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7F1479

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

Preview Lab → · Contrast checker → · Palette generator →

#7F1479 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva