#7D1A70#7D1A70

#7D1A70 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.163 H 334.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7D1A70
RGBrgb(125, 26, 112)
HSLhsl(308, 66%, 30%)
HSVhsv(308, 79%, 49%)
CMYKcmyk(0%, 79.2%, 10.4%, 51%)
CIE-LABlab(30.08, 50.46, -25.90)
CIE-LCHlch(30.08, 56.72, 332.82°)
OKLaboklab(41.89% 0.1466 -0.071)
OKLCHoklch(41.89% 0.163 334.2)
XYZxyz(11.7516, 6.2697, 15.9173)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A70 #1A7D27
analogous
#591A7D #7D1A70 #7D1A3E
triadic
#7D1A70 #707D1A #1A707D
tetradic
#7D1A70 #7D591A #1A7D27 #1A3E7D
square
#7D1A70 #7D591A #1A7D27 #1A3E7D
split-complementary
#7D1A70 #3E7D1A #1A7D59
monochromatic
#190517 #4A0F43 #7D1A70 #B0259D #D63BC2

Accessibility & contrast

On white

9.32
#7D1A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D1A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A70
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A70#FFFFFF#000000##FFFFFF
##7D1A701.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E72
Deuteranopia (green-blind)
#3D4C6E
Tritanopia (blue-blind)
#832444
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1a70;
/* rgb */ color: rgb(125, 26, 112);
/* oklch */ color: oklch(41.9% 0.163 334.2);
Tailwind
colors: {
  custom: {
    50: '#a66399',
    500: '#7d1a70',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a70;
$custom-light: #a66399;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a70",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 307.879,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41889,
    "c": 0.16292,
    "h": 334.2
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#7D1A70
secondary
#42B150
accent
#E9563F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1A70

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

Preview Lab → · Contrast checker → · Palette generator →

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