#7D1D74#7D1D74

#7D1D74 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.163 H 332.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7D1D74
RGBrgb(125, 29, 116)
HSLhsl(306, 62%, 30%)
HSVhsv(306, 77%, 49%)
CMYKcmyk(0%, 76.8%, 7.2%, 51%)
CIE-LABlab(30.64, 50.13, -27.57)
CIE-LCHlch(30.64, 57.21, 331.19°)
OKLaboklab(42.36% 0.144 -0.0758)
OKLCHoklch(42.36% 0.163 332.2)
XYZxyz(12.0492, 6.5007, 17.1398)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D74 #1D7D26
analogous
#561D7D #7D1D74 #7D1D44
triadic
#7D1D74 #747D1D #1D747D
tetradic
#7D1D74 #7D561D #1D7D26 #1D447D
square
#7D1D74 #7D561D #1D7D26 #1D447D
split-complementary
#7D1D74 #447D1D #1D7D56
monochromatic
#1A0618 #4B1146 #7D1D74 #AF29A2 #D341C5

Accessibility & contrast

On white

9.13
#7D1D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D1D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D74
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D74#FFFFFF#000000##FFFFFF
##7D1D741.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F76
Deuteranopia (green-blind)
#3D4D72
Tritanopia (blue-blind)
#832847
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1d74;
/* rgb */ color: rgb(125, 29, 116);
/* oklch */ color: oklch(42.4% 0.163 332.2);
Tailwind
colors: {
  custom: {
    50: '#a6649c',
    500: '#7d1d74',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d74;
$custom-light: #a6649c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d74",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 305.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42362,
    "c": 0.16275,
    "h": 332.2
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#7D1D74
secondary
#45B14F
accent
#E55242
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1D74

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

Preview Lab → · Contrast checker → · Palette generator →

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