#7D1D73#7D1D73

#7D1D73 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.162 H 332.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#7D1D73
RGBrgb(125, 29, 115)
HSLhsl(306, 62%, 30%)
HSVhsv(306, 77%, 49%)
CMYKcmyk(0%, 76.8%, 8%, 51%)
CIE-LABlab(30.59, 49.97, -27.02)
CIE-LCHlch(30.59, 56.81, 331.60°)
OKLaboklab(42.3% 0.144 -0.0742)
OKLCHoklch(42.3% 0.162 332.7)
XYZxyz(11.9914, 6.4775, 16.8351)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D73 #1D7D27
analogous
#571D7D #7D1D73 #7D1D43
triadic
#7D1D73 #737D1D #1D737D
tetradic
#7D1D73 #7D571D #1D7D27 #1D437D
square
#7D1D73 #7D571D #1D7D27 #1D437D
split-complementary
#7D1D73 #437D1D #1D7D57
monochromatic
#1A0618 #4B1145 #7D1D73 #AF29A1 #D341C4

Accessibility & contrast

On white

9.15
#7D1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1D73
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D73#FFFFFF#000000##FFFFFF
##7D1D731.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F75
Deuteranopia (green-blind)
#3D4D71
Tritanopia (blue-blind)
#832746
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1d73;
/* rgb */ color: rgb(125, 29, 115);
/* oklch */ color: oklch(42.3% 0.162 332.7);
Tailwind
colors: {
  custom: {
    50: '#a6649b',
    500: '#7d1d73',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d73;
$custom-light: #a6649b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d73",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 306.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.16197,
    "h": 332.7
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#7D1D73
secondary
#45B150
accent
#E55342
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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