#7D1B70#7D1B70

#7D1B70 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.162 H 334.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7D1B70
RGBrgb(125, 27, 112)
HSLhsl(308, 64%, 30%)
HSVhsv(308, 78%, 49%)
CMYKcmyk(0%, 78.4%, 10.4%, 51%)
CIE-LABlab(30.19, 50.14, -25.73)
CIE-LCHlch(30.19, 56.36, 332.83°)
OKLaboklab(41.97% 0.1457 -0.0705)
OKLCHoklch(41.97% 0.162 334.2)
XYZxyz(11.7741, 6.3147, 15.9249)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B70 #1B7D28
analogous
#591B7D #7D1B70 #7D1B3F
triadic
#7D1B70 #707D1B #1B707D
tetradic
#7D1B70 #7D591B #1B7D28 #1B3F7D
square
#7D1B70 #7D591B #1B7D28 #1B3F7D
split-complementary
#7D1B70 #3F7D1B #1B7D59
monochromatic
#190517 #4B1043 #7D1B70 #AF269D #D53DC1

Accessibility & contrast

On white

9.28
#7D1B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1B70
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B70#FFFFFF#000000##FFFFFF
##7D1B701.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E72
Deuteranopia (green-blind)
#3E4C6E
Tritanopia (blue-blind)
#832444
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1b70;
/* rgb */ color: rgb(125, 27, 112);
/* oklch */ color: oklch(42.0% 0.162 334.2);
Tailwind
colors: {
  custom: {
    50: '#a66399',
    500: '#7d1b70',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b70;
$custom-light: #a66399;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b70",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 307.959,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41968,
    "c": 0.16186,
    "h": 334.2
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#7D1B70
secondary
#43B151
accent
#E75740
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1B70

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

Preview Lab → · Contrast checker → · Palette generator →

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