#7F1779#7F1779

#7F1779 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.174 H 330.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7F1779
RGBrgb(127, 23, 121)
HSLhsl(303, 69%, 29%)
HSVhsv(303, 82%, 50%)
CMYKcmyk(0%, 81.9%, 4.7%, 50.2%)
CIE-LABlab(30.66, 53.24, -30.70)
CIE-LCHlch(30.66, 61.45, 330.03°)
OKLaboklab(42.53% 0.1516 -0.0848)
OKLCHoklch(42.53% 0.174 330.8)
XYZxyz(12.5100, 6.5063, 18.6824)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1779 #177F1D
analogous
#51177F #7F1779 #7F1745
triadic
#7F1779 #797F17 #17797F
tetradic
#7F1779 #7F5117 #177F1D #17457F
square
#7F1779 #7F5117 #177F1D #17457F
split-complementary
#7F1779 #457F17 #177F51
monochromatic
#1A0519 #4B0E48 #7F1779 #B320AA #DB36D1

Accessibility & contrast

On white

9.13
#7F1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F1779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1779
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1779#FFFFFF#000000##FFFFFF
##7F17791.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073F7C
Deuteranopia (green-blind)
#3A4D77
Tritanopia (blue-blind)
#842648
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f1779;
/* rgb */ color: rgb(127, 23, 121);
/* oklch */ color: oklch(42.5% 0.174 330.8);
Tailwind
colors: {
  custom: {
    50: '#a863a0',
    500: '#7f1779',
    950: '#000000',
  },
}
SCSS
$custom: #7f1779;
$custom-light: #a863a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1779",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 303.462,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42533,
    "c": 0.17366,
    "h": 330.8
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#7F1779
secondary
#3EB445
accent
#EC463C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7F1779

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

Preview Lab → · Contrast checker → · Palette generator →

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