#7F1979#7F1979

#7F1979 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.172 H 330.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7F1979
RGBrgb(127, 25, 121)
HSLhsl(304, 67%, 30%)
HSVhsv(304, 80%, 50%)
CMYKcmyk(0%, 80.3%, 4.7%, 50.2%)
CIE-LABlab(30.85, 52.67, -30.38)
CIE-LCHlch(30.85, 60.80, 330.02°)
OKLaboklab(42.67% 0.1499 -0.0839)
OKLCHoklch(42.67% 0.172 330.8)
XYZxyz(12.5512, 6.5888, 18.6962)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1979 #197F1F
analogous
#52197F #7F1979 #7F1946
triadic
#7F1979 #797F19 #19797F
tetradic
#7F1979 #7F5219 #197F1F #19467F
square
#7F1979 #7F5219 #197F1F #19467F
split-complementary
#7F1979 #467F19 #197F52
monochromatic
#1A0518 #4C0F48 #7F1979 #B223AA #D83ACF

Accessibility & contrast

On white

9.06
#7F1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7F1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1979
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1979#FFFFFF#000000##FFFFFF
##7F19791.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B407C
Deuteranopia (green-blind)
#3A4D77
Tritanopia (blue-blind)
#842749
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f1979;
/* rgb */ color: rgb(127, 25, 121);
/* oklch */ color: oklch(42.7% 0.172 330.8);
Tailwind
colors: {
  custom: {
    50: '#a863a0',
    500: '#7f1979',
    950: '#000000',
  },
}
SCSS
$custom: #7f1979;
$custom-light: #a863a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1979",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 303.529,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42673,
    "c": 0.17179,
    "h": 330.8
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#7F1979
secondary
#41B347
accent
#EA483E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7F1979

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

Preview Lab → · Contrast checker → · Palette generator →

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