#7B1E6F#7B1E6F

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

Color values

HEX#7B1E6F
RGBrgb(123, 30, 111)
HSLhsl(308, 61%, 30%)
HSVhsv(308, 76%, 48%)
CMYKcmyk(0%, 75.6%, 9.8%, 51.8%)
CIE-LABlab(30.13, 48.49, -25.22)
CIE-LCHlch(30.13, 54.65, 332.52°)
OKLaboklab(41.84% 0.1405 -0.0691)
OKLCHoklch(41.84% 0.157 333.8)
XYZxyz(11.5020, 6.2882, 15.6438)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E6F #1E7B2A
analogous
#591E7B #7B1E6F #7B1E40
triadic
#7B1E6F #6F7B1E #1E6F7B
tetradic
#7B1E6F #7B591E #1E7B2A #1E407B
square
#7B1E6F #7B591E #1E7B2A #1E407B
split-complementary
#7B1E6F #407B1E #1E7B59
monochromatic
#190616 #4A1243 #7B1E6F #AC2A9B #D142BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1E6F#FFFFFF#000000##FFFFFF
##7B1E6F1.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)
#1B3E71
Deuteranopia (green-blind)
#3E4C6D
Tritanopia (blue-blind)
#812744
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1e6f;
/* rgb */ color: rgb(123, 30, 111);
/* oklch */ color: oklch(41.8% 0.157 333.8);
Tailwind
colors: {
  custom: {
    50: '#a46498',
    500: '#7b1e6f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e6f;
$custom-light: #a46498;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e6f",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 307.742,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.41835,
    "c": 0.1566,
    "h": 333.8
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#7B1E6F
secondary
#46AE54
accent
#E45944
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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