#7D1B6F#7D1B6F

#7D1B6F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.161 H 334.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7D1B6F
RGBrgb(125, 27, 111)
HSLhsl(309, 64%, 30%)
HSVhsv(309, 78%, 49%)
CMYKcmyk(0%, 78.4%, 11.2%, 51%)
CIE-LABlab(30.14, 49.98, -25.18)
CIE-LCHlch(30.14, 55.97, 333.26°)
OKLaboklab(41.91% 0.1456 -0.0689)
OKLCHoklch(41.91% 0.161 334.7)
XYZxyz(11.7188, 6.2926, 15.6332)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B6F #1B7D29
analogous
#5A1B7D #7D1B6F #7D1B3E
triadic
#7D1B6F #6F7D1B #1B6F7D
tetradic
#7D1B6F #7D5A1B #1B7D29 #1B3E7D
square
#7D1B6F #7D5A1B #1B7D29 #1B3E7D
split-complementary
#7D1B6F #3E7D1B #1B7D5A
monochromatic
#190516 #4B1042 #7D1B6F #AF269C #D53DBF

Accessibility & contrast

On white

9.30
#7D1B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D1B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B6F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B6F#FFFFFF#000000##FFFFFF
##7D1B6F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E71
Deuteranopia (green-blind)
#3E4C6D
Tritanopia (blue-blind)
#832443
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1b6f;
/* rgb */ color: rgb(125, 27, 111);
/* oklch */ color: oklch(41.9% 0.161 334.7);
Tailwind
colors: {
  custom: {
    50: '#a66398',
    500: '#7d1b6f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b6f;
$custom-light: #a66398;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b6f",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 308.571,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41912,
    "c": 0.16112,
    "h": 334.7
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#7D1B6F
secondary
#43B153
accent
#E75840
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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