#7D3072#7D3072

#7D3072 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.3% C 0.135 H 333.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7D3072
RGBrgb(125, 48, 114)
HSLhsl(309, 45%, 34%)
HSVhsv(309, 62%, 49%)
CMYKcmyk(0%, 61.6%, 8.8%, 51%)
CIE-LABlab(33.33, 42.00, -22.09)
CIE-LCHlch(33.33, 47.45, 332.25°)
OKLaboklab(44.28% 0.1211 -0.0602)
OKLCHoklch(44.28% 0.135 333.5)
XYZxyz(12.5517, 7.6897, 16.7395)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3072 #307D3B
analogous
#62307D #7D3072 #7D304C
triadic
#7D3072 #727D30 #30727D
tetradic
#7D3072 #7D6230 #307D3B #304C7D
square
#7D3072 #7D6230 #307D3B #304C7D
split-complementary
#7D3072 #4C7D30 #307D62
monochromatic
#250E21 #511F4A #7D3072 #A9419A #C364B6

Accessibility & contrast

On white

8.27
#7D3072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7D3072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3072
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3072#FFFFFF#000000##FFFFFF
##7D30721.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#475270
Tritanopia (blue-blind)
#83364C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d3072;
/* rgb */ color: rgb(125, 48, 114);
/* oklch */ color: oklch(44.3% 0.135 333.5);
Tailwind
colors: {
  custom: {
    50: '#a56d9a',
    500: '#7d3072',
    950: '#000000',
  },
}
SCSS
$custom: #7d3072;
$custom-light: #a56d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3072",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 308.571,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44276,
    "c": 0.13525,
    "h": 333.5
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#7D3072
secondary
#5EAB69
accent
#D46654
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D3072

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

Preview Lab → · Contrast checker → · Palette generator →

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