#7F1377#7F1377

#7F1377 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.176 H 331.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7F1377
RGBrgb(127, 19, 119)
HSLhsl(304, 74%, 29%)
HSVhsv(304, 85%, 50%)
CMYKcmyk(0%, 85%, 6.3%, 50.2%)
CIE-LABlab(30.18, 53.94, -30.18)
CIE-LCHlch(30.18, 61.81, 330.78°)
OKLaboklab(42.16% 0.1546 -0.0832)
OKLCHoklch(42.16% 0.176 331.7)
XYZxyz(12.3151, 6.3107, 18.0187)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1377 #137F1B
analogous
#51137F #7F1377 #7F1341
triadic
#7F1377 #777F13 #13777F
tetradic
#7F1377 #7F5113 #137F1B #13417F
square
#7F1377 #7F5113 #137F1B #13417F
split-complementary
#7F1377 #417F13 #137F51
monochromatic
#1B0419 #4A0B45 #7F1377 #B41BA9 #E02DD2

Accessibility & contrast

On white

9.28
#7F1377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1377
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1377#FFFFFF#000000##FFFFFF
##7F13771.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053E7A
Deuteranopia (green-blind)
#394C75
Tritanopia (blue-blind)
#852346
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1377;
/* rgb */ color: rgb(127, 19, 119);
/* oklch */ color: oklch(42.2% 0.176 331.7);
Tailwind
colors: {
  custom: {
    50: '#a8619e',
    500: '#7f1377',
    950: '#000000',
  },
}
SCSS
$custom: #7f1377;
$custom-light: #a8619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1377",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 119
  },
  "hsl": {
    "h": 304.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.17554,
    "h": 331.7
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#7F1377
secondary
#39B442
accent
#F14537
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1377

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

Preview Lab → · Contrast checker → · Palette generator →

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