#7D1A74#7D1A74

#7D1A74 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.166 H 332.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7D1A74
RGBrgb(125, 26, 116)
HSLhsl(305, 66%, 30%)
HSVhsv(305, 79%, 49%)
CMYKcmyk(0%, 79.2%, 7.2%, 51%)
CIE-LABlab(30.30, 51.10, -28.10)
CIE-LCHlch(30.30, 58.32, 331.19°)
OKLaboklab(42.12% 0.1468 -0.0773)
OKLCHoklch(42.12% 0.166 332.2)
XYZxyz(11.9793, 6.3607, 17.1164)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A74 #1A7D23
analogous
#551A7D #7D1A74 #7D1A42
triadic
#7D1A74 #747D1A #1A747D
tetradic
#7D1A74 #7D551A #1A7D23 #1A427D
square
#7D1A74 #7D551A #1A7D23 #1A427D
split-complementary
#7D1A74 #427D1A #1A7D55
monochromatic
#190518 #4A0F45 #7D1A74 #B025A3 #D63BC8

Accessibility & contrast

On white

9.24
#7D1A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D1A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A74
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A74#FFFFFF#000000##FFFFFF
##7D1A741.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133E76
Deuteranopia (green-blind)
#3B4C72
Tritanopia (blue-blind)
#832646
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1a74;
/* rgb */ color: rgb(125, 26, 116);
/* oklch */ color: oklch(42.1% 0.166 332.2);
Tailwind
colors: {
  custom: {
    50: '#a6639c',
    500: '#7d1a74',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a74;
$custom-light: #a6639c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a74",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 305.455,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4212,
    "c": 0.16594,
    "h": 332.2
  },
  "luminance": 0.0636
}

Semantic roles & 50–950 ramp

primary
#7D1A74
secondary
#42B14C
accent
#E94F3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1A74

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

Preview Lab → · Contrast checker → · Palette generator →

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