#7F1679#7F1679

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

Color values

HEX#7F1679
RGBrgb(127, 22, 121)
HSLhsl(303, 70%, 29%)
HSVhsv(303, 83%, 50%)
CMYKcmyk(0%, 82.7%, 4.7%, 50.2%)
CIE-LABlab(30.56, 53.51, -30.84)
CIE-LCHlch(30.56, 61.76, 330.04°)
OKLaboklab(42.47% 0.1524 -0.0852)
OKLCHoklch(42.47% 0.175 330.8)
XYZxyz(12.4905, 6.4674, 18.6759)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1679 #167F1C
analogous
#51167F #7F1679 #7F1644
triadic
#7F1679 #797F16 #16797F
tetradic
#7F1679 #7F5116 #167F1C #16447F
square
#7F1679 #7F5116 #167F1C #16447F
split-complementary
#7F1679 #447F16 #167F51
monochromatic
#1A0519 #4B0D47 #7F1679 #B31FAB #DC34D2

Accessibility & contrast

On white

9.16
#7F1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1679
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1679#FFFFFF#000000##FFFFFF
##7F16791.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7C
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#842648
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f1679;
/* rgb */ color: rgb(127, 22, 121);
/* oklch */ color: oklch(42.5% 0.175 330.8);
Tailwind
colors: {
  custom: {
    50: '#a862a0',
    500: '#7f1679',
    950: '#000000',
  },
}
SCSS
$custom: #7f1679;
$custom-light: #a862a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1679",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 303.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42466,
    "c": 0.17455,
    "h": 330.8
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#7F1679
secondary
#3DB444
accent
#ED453B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7F1679

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

Preview Lab → · Contrast checker → · Palette generator →

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