#7D1E70#7D1E70

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

Color values

HEX#7D1E70
RGBrgb(125, 30, 112)
HSLhsl(308, 61%, 30%)
HSVhsv(308, 76%, 49%)
CMYKcmyk(0%, 76%, 10.4%, 51%)
CIE-LABlab(30.54, 49.14, -25.18)
CIE-LCHlch(30.54, 55.22, 332.87°)
OKLaboklab(42.22% 0.1428 -0.0689)
OKLCHoklch(42.22% 0.159 334.2)
XYZxyz(11.8465, 6.4594, 15.9490)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E70 #1E7D2B
analogous
#5B1E7D #7D1E70 #7D1E40
triadic
#7D1E70 #707D1E #1E707D
tetradic
#7D1E70 #7D5B1E #1E7D2B #1E407D
square
#7D1E70 #7D5B1E #1E7D2B #1E407D
split-complementary
#7D1E70 #407D1E #1E7D5B
monochromatic
#1A0618 #4C1244 #7D1E70 #AE2A9C #D243BE

Accessibility & contrast

On white

9.16
#7D1E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7D1E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E70
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E70#FFFFFF#000000##FFFFFF
##7D1E701.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1e70;
/* rgb */ color: rgb(125, 30, 112);
/* oklch */ color: oklch(42.2% 0.159 334.2);
Tailwind
colors: {
  custom: {
    50: '#a66499',
    500: '#7d1e70',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e70;
$custom-light: #a66499;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e70",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 308.211,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4222,
    "c": 0.15853,
    "h": 334.2
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#7D1E70
secondary
#46B055
accent
#E45943
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1E70

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

Preview Lab → · Contrast checker → · Palette generator →

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