#7B1D6D#7B1D6D

#7B1D6D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.156 H 334.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7B1D6D
RGBrgb(123, 29, 109)
HSLhsl(309, 62%, 30%)
HSVhsv(309, 76%, 48%)
CMYKcmyk(0%, 76.4%, 11.4%, 51.8%)
CIE-LABlab(29.90, 48.51, -24.30)
CIE-LCHlch(29.90, 54.26, 333.39°)
OKLaboklab(41.64% 0.1414 -0.0664)
OKLCHoklch(41.64% 0.156 334.8)
XYZxyz(11.3682, 6.1948, 15.0620)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D6D #1D7B2B
analogous
#5A1D7B #7B1D6D #7B1D3E
triadic
#7B1D6D #6D7B1D #1D6D7B
tetradic
#7B1D6D #7B5A1D #1D7B2B #1D3E7B
square
#7B1D6D #7B5A1D #1D7B2B #1D3E7B
split-complementary
#7B1D6D #3E7B1D #1D7B5A
monochromatic
#190616 #491141 #7B1D6D #AD2999 #D240BC

Accessibility & contrast

On white

9.38
#7B1D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7B1D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D6D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D6D#FFFFFF#000000##FFFFFF
##7B1D6D1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E6F
Deuteranopia (green-blind)
#3E4B6B
Tritanopia (blue-blind)
#812543
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1d6d;
/* rgb */ color: rgb(123, 29, 109);
/* oklch */ color: oklch(41.6% 0.156 334.8);
Tailwind
colors: {
  custom: {
    50: '#a46497',
    500: '#7b1d6d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d6d;
$custom-light: #a46497;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d6d",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 109
  },
  "hsl": {
    "h": 308.936,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41635,
    "c": 0.15623,
    "h": 334.8
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#7B1D6D
secondary
#45AF55
accent
#E55B43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B1D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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