#7D1D75#7D1D75

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

Color values

HEX#7D1D75
RGBrgb(125, 29, 117)
HSLhsl(305, 62%, 30%)
HSVhsv(305, 77%, 49%)
CMYKcmyk(0%, 76.8%, 6.4%, 51%)
CIE-LABlab(30.70, 50.30, -28.12)
CIE-LCHlch(30.70, 57.62, 330.79°)
OKLaboklab(42.42% 0.1441 -0.0774)
OKLCHoklch(42.42% 0.164 331.8)
XYZxyz(12.1077, 6.5240, 17.4478)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D75 #1D7D25
analogous
#551D7D #7D1D75 #7D1D45
triadic
#7D1D75 #757D1D #1D757D
tetradic
#7D1D75 #7D551D #1D7D25 #1D457D
square
#7D1D75 #7D551D #1D7D25 #1D457D
split-complementary
#7D1D75 #457D1D #1D7D55
monochromatic
#1A0618 #4B1147 #7D1D75 #AF29A3 #D341C7

Accessibility & contrast

On white

9.11
#7D1D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1D75
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D75#FFFFFF#000000##FFFFFF
##7D1D751.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154077
Deuteranopia (green-blind)
#3C4D73
Tritanopia (blue-blind)
#822847
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1d75;
/* rgb */ color: rgb(125, 29, 117);
/* oklch */ color: oklch(42.4% 0.164 331.8);
Tailwind
colors: {
  custom: {
    50: '#a6649d',
    500: '#7d1d75',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d75;
$custom-light: #a6649d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d75",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 305,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4242,
    "c": 0.16352,
    "h": 331.8
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#7D1D75
secondary
#45B14E
accent
#E55042
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1D75

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

Preview Lab → · Contrast checker → · Palette generator →

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