#7F1379#7F1379

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

Color values

HEX#7F1379
RGBrgb(127, 19, 121)
HSLhsl(303, 74%, 29%)
HSVhsv(303, 85%, 50%)
CMYKcmyk(0%, 85%, 4.7%, 50.2%)
CIE-LABlab(30.30, 54.26, -31.26)
CIE-LCHlch(30.30, 62.62, 330.06°)
OKLaboklab(42.28% 0.1545 -0.0864)
OKLCHoklch(42.28% 0.177 330.8)
XYZxyz(12.4364, 6.3593, 18.6579)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1379 #137F19
analogous
#4F137F #7F1379 #7F1343
triadic
#7F1379 #797F13 #13797F
tetradic
#7F1379 #7F4F13 #137F19 #13437F
square
#7F1379 #7F4F13 #137F19 #13437F
split-complementary
#7F1379 #437F13 #137F4F
monochromatic
#1B0419 #4A0B46 #7F1379 #B41BAC #E02DD6

Accessibility & contrast

On white

9.24
#7F1379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F1379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1379
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1379#FFFFFF#000000##FFFFFF
##7F13791.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#842447
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1379;
/* rgb */ color: rgb(127, 19, 121);
/* oklch */ color: oklch(42.3% 0.177 330.8);
Tailwind
colors: {
  custom: {
    50: '#a861a0',
    500: '#7f1379',
    950: '#000000',
  },
}
SCSS
$custom: #7f1379;
$custom-light: #a861a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1379",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 121
  },
  "hsl": {
    "h": 303.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42281,
    "c": 0.17702,
    "h": 330.8
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#7F1379
secondary
#39B440
accent
#F14137
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7F1379

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

Preview Lab → · Contrast checker → · Palette generator →

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