#7D1374#7D1374

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

Color values

HEX#7D1374
RGBrgb(125, 19, 116)
HSLhsl(305, 74%, 28%)
HSVhsv(305, 85%, 49%)
CMYKcmyk(0%, 84.8%, 7.2%, 51%)
CIE-LABlab(29.63, 53.04, -29.17)
CIE-LCHlch(29.63, 60.53, 331.19°)
OKLaboklab(41.64% 0.1525 -0.0804)
OKLCHoklch(41.64% 0.172 332.2)
XYZxyz(11.8428, 6.0877, 17.0709)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1374 #137D1C
analogous
#51137D #7D1374 #7D133F
triadic
#7D1374 #747D13 #13747D
tetradic
#7D1374 #7D5113 #137D1C #133F7D
square
#7D1374 #7D5113 #137D1C #133F7D
split-complementary
#7D1374 #3F7D13 #137D51
monochromatic
#1B0419 #480B43 #7D1374 #B21BA5 #DF2CD0

Accessibility & contrast

On white

9.47
#7D1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1374
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1374#FFFFFF#000000##FFFFFF
##7D13741.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1374;
/* rgb */ color: rgb(125, 19, 116);
/* oklch */ color: oklch(41.6% 0.172 332.2);
Tailwind
colors: {
  custom: {
    50: '#a6619c',
    500: '#7d1374',
    950: '#000000',
  },
}
SCSS
$custom: #7d1374;
$custom-light: #a6619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1374",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 305.094,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.17236,
    "h": 332.2
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#7D1374
secondary
#39B343
accent
#F04738
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1374

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

Preview Lab → · Contrast checker → · Palette generator →

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