#7D1F77#7D1F77

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

Color values

HEX#7D1F77
RGBrgb(125, 31, 119)
HSLhsl(304, 60%, 31%)
HSVhsv(304, 75%, 49%)
CMYKcmyk(0%, 75.2%, 4.8%, 51%)
CIE-LABlab(31.05, 49.95, -28.83)
CIE-LCHlch(31.05, 57.67, 330.01°)
OKLaboklab(42.71% 0.1421 -0.0795)
OKLCHoklch(42.71% 0.163 330.8)
XYZxyz(12.2772, 6.6728, 18.0905)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F77 #1F7D25
analogous
#541F7D #7D1F77 #7D1F48
triadic
#7D1F77 #777D1F #1F777D
tetradic
#7D1F77 #7D541F #1F7D25 #1F487D
square
#7D1F77 #7D541F #1F7D25 #1F487D
split-complementary
#7D1F77 #487D1F #1F7D54
monochromatic
#1B071A #4C1348 #7D1F77 #AE2BA6 #D145C8

Accessibility & contrast

On white

9.00
#7D1F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F77
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F77#FFFFFF#000000##FFFFFF
##7D1F771.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164179
Deuteranopia (green-blind)
#3C4E75
Tritanopia (blue-blind)
#822B49
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1f77;
/* rgb */ color: rgb(125, 31, 119);
/* oklch */ color: oklch(42.7% 0.163 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6659e',
    500: '#7d1f77',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f77;
$custom-light: #a6659e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f77",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 303.83,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42709,
    "c": 0.16284,
    "h": 330.8
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#7D1F77
secondary
#48B04E
accent
#E34F44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1F77

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

Preview Lab → · Contrast checker → · Palette generator →

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