#7D1377#7D1377

#7D1377 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.175 H 330.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7D1377
RGBrgb(125, 19, 119)
HSLhsl(303, 74%, 28%)
HSVhsv(303, 85%, 49%)
CMYKcmyk(0%, 84.8%, 4.8%, 51%)
CIE-LABlab(29.81, 53.52, -30.79)
CIE-LCHlch(29.81, 61.75, 330.08°)
OKLaboklab(41.82% 0.1525 -0.0851)
OKLCHoklch(41.82% 0.175 330.8)
XYZxyz(12.0201, 6.1586, 18.0049)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1377 #137D19
analogous
#4E137D #7D1377 #7D1342
triadic
#7D1377 #777D13 #13777D
tetradic
#7D1377 #7D4E13 #137D19 #13427D
square
#7D1377 #7D4E13 #137D19 #13427D
split-complementary
#7D1377 #427D13 #137D4E
monochromatic
#1B0419 #480B44 #7D1377 #B21BAA #DF2CD5

Accessibility & contrast

On white

9.41
#7D1377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D1377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1377
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1377#FFFFFF#000000##FFFFFF
##7D13771.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013D7A
Deuteranopia (green-blind)
#384B75
Tritanopia (blue-blind)
#822346
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1377;
/* rgb */ color: rgb(125, 19, 119);
/* oklch */ color: oklch(41.8% 0.175 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6619e',
    500: '#7d1377',
    950: '#000000',
  },
}
SCSS
$custom: #7d1377;
$custom-light: #a6619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1377",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 119
  },
  "hsl": {
    "h": 303.396,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41823,
    "c": 0.17458,
    "h": 330.8
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

primary
#7D1377
secondary
#39B340
accent
#F04238
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1377

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

Preview Lab → · Contrast checker → · Palette generator →

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