#7B1E6D#7B1E6D

#7B1E6D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.155 H 334.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7B1E6D
RGBrgb(123, 30, 109)
HSLhsl(309, 61%, 30%)
HSVhsv(309, 76%, 48%)
CMYKcmyk(0%, 75.6%, 11.4%, 51.8%)
CIE-LABlab(30.02, 48.16, -24.11)
CIE-LCHlch(30.02, 53.86, 333.41°)
OKLaboklab(41.72% 0.1404 -0.0659)
OKLCHoklch(41.72% 0.155 334.9)
XYZxyz(11.3931, 6.2446, 15.0703)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E6D #1E7B2C
analogous
#5A1E7B #7B1E6D #7B1E3F
triadic
#7B1E6D #6D7B1E #1E6D7B
tetradic
#7B1E6D #7B5A1E #1E7B2C #1E3F7B
square
#7B1E6D #7B5A1E #1E7B2C #1E3F7B
split-complementary
#7B1E6D #3F7B1E #1E7B5A
monochromatic
#190616 #4A1241 #7B1E6D #AC2A99 #D142BC

Accessibility & contrast

On white

9.34
#7B1E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7B1E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E6D
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E6D#FFFFFF#000000##FFFFFF
##7B1E6D1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E6F
Deuteranopia (green-blind)
#3F4C6B
Tritanopia (blue-blind)
#812643
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1e6d;
/* rgb */ color: rgb(123, 30, 109);
/* oklch */ color: oklch(41.7% 0.155 334.9);
Tailwind
colors: {
  custom: {
    50: '#a46497',
    500: '#7b1e6d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e6d;
$custom-light: #a46497;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e6d",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 309.032,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.41723,
    "c": 0.15507,
    "h": 334.9
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#7B1E6D
secondary
#46AE56
accent
#E45C44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B1E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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