#7D1C74#7D1C74

#7D1C74 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.164 H 332.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7D1C74
RGBrgb(125, 28, 116)
HSLhsl(306, 63%, 30%)
HSVhsv(306, 78%, 49%)
CMYKcmyk(0%, 77.6%, 7.2%, 51%)
CIE-LABlab(30.53, 50.46, -27.75)
CIE-LCHlch(30.53, 57.59, 331.19°)
OKLaboklab(42.28% 0.145 -0.0763)
OKLCHoklch(42.28% 0.164 332.2)
XYZxyz(12.0251, 6.4524, 17.1317)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C74 #1C7D25
analogous
#561C7D #7D1C74 #7D1C43
triadic
#7D1C74 #747D1C #1C747D
tetradic
#7D1C74 #7D561C #1C7D25 #1C437D
square
#7D1C74 #7D561C #1C7D25 #1C437D
split-complementary
#7D1C74 #437D1C #1C7D56
monochromatic
#190617 #4B1146 #7D1C74 #AF27A2 #D43FC6

Accessibility & contrast

On white

9.17
#7D1C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7D1C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C74
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C74#FFFFFF#000000##FFFFFF
##7D1C741.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153F76
Deuteranopia (green-blind)
#3C4D72
Tritanopia (blue-blind)
#832746
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1c74;
/* rgb */ color: rgb(125, 28, 116);
/* oklch */ color: oklch(42.3% 0.164 332.2);
Tailwind
colors: {
  custom: {
    50: '#a6649c',
    500: '#7d1c74',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c74;
$custom-light: #a6649c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c74",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 305.567,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.42279,
    "c": 0.16384,
    "h": 332.2
  },
  "luminance": 0.06451
}

Semantic roles & 50–950 ramp

primary
#7D1C74
secondary
#44B14E
accent
#E65141
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1C74

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

Preview Lab → · Contrast checker → · Palette generator →

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