#7F1376#7F1376

#7F1376 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.175 H 332.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7F1376
RGBrgb(127, 19, 118)
HSLhsl(305, 74%, 29%)
HSVhsv(305, 85%, 50%)
CMYKcmyk(0%, 85%, 7.1%, 50.2%)
CIE-LABlab(30.12, 53.79, -29.64)
CIE-LCHlch(30.12, 61.41, 331.15°)
OKLaboklab(42.1% 0.1546 -0.0817)
OKLCHoklch(42.1% 0.175 332.2)
XYZxyz(12.2553, 6.2868, 17.7041)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1376 #137F1C
analogous
#52137F #7F1376 #7F1340
triadic
#7F1376 #767F13 #13767F
tetradic
#7F1376 #7F5213 #137F1C #13407F
square
#7F1376 #7F5213 #137F1C #13407F
split-complementary
#7F1376 #407F13 #137F52
monochromatic
#1B0419 #4A0B45 #7F1376 #B41BA7 #E02DD1

Accessibility & contrast

On white

9.30
#7F1376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F1376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1376
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1376#FFFFFF#000000##FFFFFF
##7F13761.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073D78
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#852246
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1376;
/* rgb */ color: rgb(127, 19, 118);
/* oklch */ color: oklch(42.1% 0.175 332.2);
Tailwind
colors: {
  custom: {
    50: '#a8619e',
    500: '#7f1376',
    950: '#000000',
  },
}
SCSS
$custom: #7f1376;
$custom-light: #a8619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1376",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 305,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.17481,
    "h": 332.2
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#7F1376
secondary
#39B444
accent
#F14737
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1376

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

Preview Lab → · Contrast checker → · Palette generator →

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