#7D1474#7D1474

#7D1474 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.172 H 332.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7D1474
RGBrgb(125, 20, 116)
HSLhsl(305, 72%, 28%)
HSVhsv(305, 84%, 49%)
CMYKcmyk(0%, 84%, 7.2%, 51%)
CIE-LABlab(29.72, 52.79, -29.03)
CIE-LCHlch(29.72, 60.24, 331.19°)
OKLaboklab(41.7% 0.1518 -0.08)
OKLCHoklch(41.7% 0.172 332.2)
XYZxyz(11.8600, 6.1223, 17.0767)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1474 #147D1D
analogous
#51147D #7D1474 #7D143F
triadic
#7D1474 #747D14 #14747D
tetradic
#7D1474 #7D5114 #147D1D #143F7D
square
#7D1474 #7D5114 #147D1D #143F7D
split-complementary
#7D1474 #3F7D14 #147D51
monochromatic
#1A0418 #480C43 #7D1474 #B21CA5 #DE2ECE

Accessibility & contrast

On white

9.44
#7D1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D1474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1474
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1474#FFFFFF#000000##FFFFFF
##7D14741.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D76
Deuteranopia (green-blind)
#394B72
Tritanopia (blue-blind)
#832245
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1474;
/* rgb */ color: rgb(125, 20, 116);
/* oklch */ color: oklch(41.7% 0.172 332.2);
Tailwind
colors: {
  custom: {
    50: '#a6619c',
    500: '#7d1474',
    950: '#000000',
  },
}
SCSS
$custom: #7d1474;
$custom-light: #a6619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1474",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 305.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41702,
    "c": 0.17153,
    "h": 332.2
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#7D1474
secondary
#3AB245
accent
#EF4839
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1474

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

Preview Lab → · Contrast checker → · Palette generator →

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