#7F1079#7F1079

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

Color values

HEX#7F1079
RGBrgb(127, 16, 121)
HSLhsl(303, 78%, 28%)
HSVhsv(303, 87%, 50%)
CMYKcmyk(0%, 87.4%, 4.7%, 50.2%)
CIE-LABlab(30.07, 54.94, -31.63)
CIE-LCHlch(30.07, 63.39, 330.07°)
OKLaboklab(42.12% 0.1565 -0.0874)
OKLCHoklch(42.12% 0.179 330.8)
XYZxyz(12.3889, 6.2641, 18.6421)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1079 #107F16
analogous
#4D107F #7F1079 #7F1041
triadic
#7F1079 #797F10 #10797F
tetradic
#7F1079 #7F4D10 #107F16 #10417F
square
#7F1079 #7F4D10 #107F16 #10417F
split-complementary
#7F1079 #417F10 #107F4D
monochromatic
#1B031A #490945 #7F1079 #B517AD #E426D9

Accessibility & contrast

On white

9.32
#7F1079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F1079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1079
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1079#FFFFFF#000000##FFFFFF
##7F10791.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#842347
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1079;
/* rgb */ color: rgb(127, 16, 121);
/* oklch */ color: oklch(42.1% 0.179 330.8);
Tailwind
colors: {
  custom: {
    50: '#a861a0',
    500: '#7f1079',
    950: '#000000',
  },
}
SCSS
$custom: #7f1079;
$custom-light: #a861a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1079",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 121
  },
  "hsl": {
    "h": 303.243,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.42116,
    "c": 0.17924,
    "h": 330.8
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#7F1079
secondary
#36B53D
accent
#F43E34
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7F1079

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

Preview Lab → · Contrast checker → · Palette generator →

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