#7B1D72#7B1D72

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

Color values

HEX#7B1D72
RGBrgb(123, 29, 114)
HSLhsl(306, 62%, 30%)
HSVhsv(306, 76%, 48%)
CMYKcmyk(0%, 76.4%, 7.3%, 51.8%)
CIE-LABlab(30.17, 49.32, -27.07)
CIE-LCHlch(30.17, 56.26, 331.24°)
OKLaboklab(41.92% 0.1417 -0.0744)
OKLCHoklch(41.92% 0.16 332.3)
XYZxyz(11.6450, 6.3056, 16.5201)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D72 #1D7B26
analogous
#551D7B #7B1D72 #7B1D43
triadic
#7B1D72 #727B1D #1D727B
tetradic
#7B1D72 #7B551D #1D7B26 #1D437B
square
#7B1D72 #7B551D #1D7B26 #1D437B
split-complementary
#7B1D72 #437B1D #1D7B55
monochromatic
#190617 #491144 #7B1D72 #AD29A0 #D240C4

Accessibility & contrast

On white

9.29
#7B1D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1D72
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D72#FFFFFF#000000##FFFFFF
##7B1D721.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F74
Deuteranopia (green-blind)
#3C4C70
Tritanopia (blue-blind)
#802746
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1d72;
/* rgb */ color: rgb(123, 29, 114);
/* oklch */ color: oklch(41.9% 0.160 332.3);
Tailwind
colors: {
  custom: {
    50: '#a4649b',
    500: '#7b1d72',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d72;
$custom-light: #a4649b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d72",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 305.745,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41919,
    "c": 0.16007,
    "h": 332.3
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#7B1D72
secondary
#45AF4F
accent
#E55243
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1D72

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

Preview Lab → · Contrast checker → · Palette generator →

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