#7D1B79#7D1B79

#7D1B79 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.169 H 329.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7D1B79
RGBrgb(125, 27, 121)
HSLhsl(302, 64%, 30%)
HSVhsv(302, 78%, 49%)
CMYKcmyk(0%, 78.4%, 3.2%, 51%)
CIE-LABlab(30.70, 51.61, -30.65)
CIE-LCHlch(30.70, 60.03, 329.30°)
OKLaboklab(42.5% 0.146 -0.0847)
OKLCHoklch(42.5% 0.169 329.9)
XYZxyz(12.3005, 6.5253, 18.6971)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B79 #1B7D1F
analogous
#501B7D #7D1B79 #7D1B48
triadic
#7D1B79 #797D1B #1B797D
tetradic
#7D1B79 #7D501B #1B7D1F #1B487D
square
#7D1B79 #7D501B #1B7D1F #1B487D
split-complementary
#7D1B79 #487D1B #1B7D50
monochromatic
#190518 #4B1048 #7D1B79 #AF26AA #D53DCF

Accessibility & contrast

On white

9.11
#7D1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B79
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B79#FFFFFF#000000##FFFFFF
##7D1B791.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407C
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#822949
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1b79;
/* rgb */ color: rgb(125, 27, 121);
/* oklch */ color: oklch(42.5% 0.169 329.9);
Tailwind
colors: {
  custom: {
    50: '#a664a0',
    500: '#7d1b79',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b79;
$custom-light: #a664a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b79",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 302.449,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42496,
    "c": 0.16879,
    "h": 329.9
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#7D1B79
secondary
#43B147
accent
#E74740
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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