#7D3071#7D3071

#7D3071 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.2% C 0.134 H 334.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7D3071
RGBrgb(125, 48, 113)
HSLhsl(309, 45%, 34%)
HSVhsv(309, 62%, 49%)
CMYKcmyk(0%, 61.6%, 9.6%, 51%)
CIE-LABlab(33.28, 41.82, -21.54)
CIE-LCHlch(33.28, 47.04, 332.75°)
OKLaboklab(44.22% 0.1209 -0.0587)
OKLCHoklch(44.22% 0.134 334.1)
XYZxyz(12.4951, 7.6671, 16.4414)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3071 #307D3C
analogous
#63307D #7D3071 #7D304B
triadic
#7D3071 #717D30 #30717D
tetradic
#7D3071 #7D6330 #307D3C #304B7D
square
#7D3071 #7D6330 #307D3C #304B7D
split-complementary
#7D3071 #4B7D30 #307D63
monochromatic
#250E21 #511F49 #7D3071 #A94199 #C364B5

Accessibility & contrast

On white

8.29
#7D3071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7D3071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3071
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3071#FFFFFF#000000##FFFFFF
##7D30711.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#83354C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d3071;
/* rgb */ color: rgb(125, 48, 113);
/* oklch */ color: oklch(44.2% 0.134 334.1);
Tailwind
colors: {
  custom: {
    50: '#a56d9a',
    500: '#7d3071',
    950: '#000000',
  },
}
SCSS
$custom: #7d3071;
$custom-light: #a56d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3071",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 309.351,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44225,
    "c": 0.13441,
    "h": 334.1
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#7D3071
secondary
#5EAB6A
accent
#D46854
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D3071

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

Preview Lab → · Contrast checker → · Palette generator →

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