#7F2079#7F2079

#7F2079 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.164 H 330.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7F2079
RGBrgb(127, 32, 121)
HSLhsl(304, 60%, 31%)
HSVhsv(304, 75%, 50%)
CMYKcmyk(0%, 74.8%, 4.7%, 50.2%)
CIE-LABlab(31.64, 50.41, -29.14)
CIE-LCHlch(31.64, 58.23, 329.97°)
OKLaboklab(43.24% 0.1434 -0.0803)
OKLCHoklch(43.24% 0.164 330.8)
XYZxyz(12.7201, 6.9265, 18.7525)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2079 #207F26
analogous
#55207F #7F2079 #7F2049
triadic
#7F2079 #797F20 #20797F
tetradic
#7F2079 #7F5520 #207F26 #20497F
square
#7F2079 #7F5520 #207F26 #20497F
split-complementary
#7F2079 #497F20 #207F55
monochromatic
#1D071C #4E144A #7F2079 #B02CA8 #D148C8

Accessibility & contrast

On white

8.80
#7F2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7F2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2079
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2079#FFFFFF#000000##FFFFFF
##7F20791.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427B
Deuteranopia (green-blind)
#3D4F77
Tritanopia (blue-blind)
#842C4A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2079;
/* rgb */ color: rgb(127, 32, 121);
/* oklch */ color: oklch(43.2% 0.164 330.8);
Tailwind
colors: {
  custom: {
    50: '#a766a0',
    500: '#7f2079',
    950: '#000000',
  },
}
SCSS
$custom: #7f2079;
$custom-light: #a766a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2079",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 303.789,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43236,
    "c": 0.16437,
    "h": 330.8
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#7F2079
secondary
#49B250
accent
#E34F45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F2079

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

Preview Lab → · Contrast checker → · Palette generator →

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