#7D1072#7D1072

#7D1072 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.173 H 333.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7D1072
RGBrgb(125, 16, 114)
HSLhsl(306, 77%, 28%)
HSVhsv(306, 87%, 49%)
CMYKcmyk(0%, 87.2%, 8.8%, 51%)
CIE-LABlab(29.28, 53.42, -28.45)
CIE-LCHlch(29.28, 60.53, 331.96°)
OKLaboklab(41.35% 0.1545 -0.0783)
OKLCHoklch(41.35% 0.173 333.1)
XYZxyz(11.6801, 5.9465, 16.4490)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1072 #107D1B
analogous
#51107D #7D1072 #7D103B
triadic
#7D1072 #727D10 #10727D
tetradic
#7D1072 #7D5110 #107D1B #103B7D
square
#7D1072 #7D5110 #107D1B #103B7D
split-complementary
#7D1072 #3B7D10 #107D51
monochromatic
#1B0319 #470941 #7D1072 #B317A3 #E324D0

Accessibility & contrast

On white

9.59
#7D1072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D1072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1072
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1072#FFFFFF#000000##FFFFFF
##7D10721.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073B74
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#831F43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1072;
/* rgb */ color: rgb(125, 16, 114);
/* oklch */ color: oklch(41.3% 0.173 333.1);
Tailwind
colors: {
  custom: {
    50: '#a6609b',
    500: '#7d1072',
    950: '#000000',
  },
}
SCSS
$custom: #7d1072;
$custom-light: #a6609b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1072",
  "rgb": {
    "r": 125,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 306.055,
    "s": 77.305,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4135,
    "c": 0.17321,
    "h": 333.1
  },
  "luminance": 0.05945
}

Semantic roles & 50–950 ramp

primary
#7D1072
secondary
#35B342
accent
#F44734
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7D1072

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

Preview Lab → · Contrast checker → · Palette generator →

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