#7F1D70#7F1D70

#7F1D70 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.161 H 335.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7F1D70
RGBrgb(127, 29, 112)
HSLhsl(309, 63%, 31%)
HSVhsv(309, 77%, 50%)
CMYKcmyk(0%, 77.2%, 11.8%, 50.2%)
CIE-LABlab(30.79, 49.97, -24.77)
CIE-LCHlch(30.79, 55.77, 333.63°)
OKLaboklab(42.47% 0.1459 -0.0677)
OKLCHoklch(42.47% 0.161 335.1)
XYZxyz(12.1165, 6.5617, 15.9545)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D70 #1D7F2C
analogous
#5D1D7F #7F1D70 #7F1D3F
triadic
#7F1D70 #707F1D #1D707F
tetradic
#7F1D70 #7F5D1D #1D7F2C #1D3F7F
square
#7F1D70 #7F5D1D #1D7F2C #1D3F7F
split-complementary
#7F1D70 #3F7F1D #1D7F5D
monochromatic
#1B0618 #4D1244 #7F1D70 #B1289C #D442BE

Accessibility & contrast

On white

9.08
#7F1D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F1D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D70
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D70#FFFFFF#000000##FFFFFF
##7F1D701.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F72
Deuteranopia (green-blind)
#404E6E
Tritanopia (blue-blind)
#862545
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f1d70;
/* rgb */ color: rgb(127, 29, 112);
/* oklch */ color: oklch(42.5% 0.161 335.1);
Tailwind
colors: {
  custom: {
    50: '#a76499',
    500: '#7f1d70',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d70;
$custom-light: #a76499;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d70",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 309.184,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42465,
    "c": 0.16084,
    "h": 335.1
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#7F1D70
secondary
#45B256
accent
#E65B42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1D70

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

Preview Lab → · Contrast checker → · Palette generator →

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