#7D1E71#7D1E71

#7D1E71 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.159 H 333.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#7D1E71
RGBrgb(125, 30, 113)
HSLhsl(308, 61%, 30%)
HSVhsv(308, 76%, 49%)
CMYKcmyk(0%, 76%, 9.6%, 51%)
CIE-LABlab(30.60, 49.30, -25.73)
CIE-LCHlch(30.60, 55.61, 332.44°)
OKLaboklab(42.28% 0.1428 -0.0705)
OKLCHoklch(42.28% 0.159 333.7)
XYZxyz(11.9024, 6.4818, 16.2438)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E71 #1E7D2A
analogous
#591E7D #7D1E71 #7D1E41
triadic
#7D1E71 #717D1E #1E717D
tetradic
#7D1E71 #7D591E #1E7D2A #1E417D
square
#7D1E71 #7D591E #1E7D2A #1E417D
split-complementary
#7D1E71 #417D1E #1E7D59
monochromatic
#1A0618 #4C1244 #7D1E71 #AE2A9E #D243C0

Accessibility & contrast

On white

9.15
#7D1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1E71
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E71#FFFFFF#000000##FFFFFF
##7D1E711.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F73
Deuteranopia (green-blind)
#3E4D6F
Tritanopia (blue-blind)
#832745
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1e71;
/* rgb */ color: rgb(125, 30, 113);
/* oklch */ color: oklch(42.3% 0.159 333.7);
Tailwind
colors: {
  custom: {
    50: '#a6649a',
    500: '#7d1e71',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e71;
$custom-light: #a6649a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e71",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 307.579,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42276,
    "c": 0.1593,
    "h": 333.7
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#7D1E71
secondary
#46B054
accent
#E45843
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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