#7F1D73#7F1D73

#7F1D73 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.163 H 333.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7F1D73
RGBrgb(127, 29, 115)
HSLhsl(307, 63%, 31%)
HSVhsv(307, 77%, 50%)
CMYKcmyk(0%, 77.2%, 9.4%, 50.2%)
CIE-LABlab(30.95, 50.45, -26.43)
CIE-LCHlch(30.95, 56.95, 332.35°)
OKLaboklab(42.63% 0.1461 -0.0725)
OKLCHoklch(42.63% 0.163 333.6)
XYZxyz(12.2864, 6.6296, 16.8489)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D73 #1D7F29
analogous
#5A1D7F #7F1D73 #7F1D42
triadic
#7F1D73 #737F1D #1D737F
tetradic
#7F1D73 #7F5A1D #1D7F29 #1D427F
square
#7F1D73 #7F5A1D #1D7F29 #1D427F
split-complementary
#7F1D73 #427F1D #1D7F5A
monochromatic
#1B0619 #4D1246 #7F1D73 #B128A0 #D442C2

Accessibility & contrast

On white

9.03
#7F1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7F1D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D73
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D73#FFFFFF#000000##FFFFFF
##7F1D731.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4075
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#852746
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f1d73;
/* rgb */ color: rgb(127, 29, 115);
/* oklch */ color: oklch(42.6% 0.163 333.6);
Tailwind
colors: {
  custom: {
    50: '#a7649b',
    500: '#7f1d73',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d73;
$custom-light: #a7649b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d73",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 307.347,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42633,
    "c": 0.1631,
    "h": 333.6
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#7F1D73
secondary
#45B253
accent
#E65642
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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