#7D2071#7D2071

#7D2071 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.157 H 333.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7D2071
RGBrgb(125, 32, 113)
HSLhsl(308, 59%, 31%)
HSVhsv(308, 74%, 49%)
CMYKcmyk(0%, 74.4%, 9.6%, 51%)
CIE-LABlab(30.85, 48.59, -25.34)
CIE-LCHlch(30.85, 54.81, 332.46°)
OKLaboklab(42.46% 0.1408 -0.0694)
OKLCHoklch(42.46% 0.157 333.8)
XYZxyz(11.9547, 6.5863, 16.2612)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2071 #207D2C
analogous
#5A207D #7D2071 #7D2042
triadic
#7D2071 #717D20 #20717D
tetradic
#7D2071 #7D5A20 #207D2C #20427D
square
#7D2071 #7D5A20 #207D2C #20427D
split-complementary
#7D2071 #427D20 #207D5A
monochromatic
#1C0719 #4C1445 #7D2071 #AE2C9D #D047BE

Accessibility & contrast

On white

9.06
#7D2071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7D2071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2071
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2071#FFFFFF#000000##FFFFFF
##7D20711.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4073
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#832946
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d2071;
/* rgb */ color: rgb(125, 32, 113);
/* oklch */ color: oklch(42.5% 0.157 333.8);
Tailwind
colors: {
  custom: {
    50: '#a6659a',
    500: '#7d2071',
    950: '#000000',
  },
}
SCSS
$custom: #7d2071;
$custom-light: #a6659a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2071",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 307.742,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42455,
    "c": 0.15694,
    "h": 333.8
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#7D2071
secondary
#49B056
accent
#E25A45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2071

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

Preview Lab → · Contrast checker → · Palette generator →

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