#7B1A76#7B1A76

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

Color values

HEX#7B1A76
RGBrgb(123, 26, 118)
HSLhsl(303, 65%, 29%)
HSVhsv(303, 79%, 48%)
CMYKcmyk(0%, 78.9%, 4.1%, 51.8%)
CIE-LABlab(30.06, 50.97, -29.79)
CIE-LCHlch(30.06, 59.04, 329.69°)
OKLaboklab(41.91% 0.1447 -0.0823)
OKLCHoklch(41.91% 0.166 330.4)
XYZxyz(11.8077, 6.2587, 17.7222)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A76 #1A7B1F
analogous
#501A7B #7B1A76 #7B1A46
triadic
#7B1A76 #767B1A #1A767B
tetradic
#7B1A76 #7B501A #1A7B1F #1A467B
square
#7B1A76 #7B501A #1A7B1F #1A467B
split-complementary
#7B1A76 #467B1A #1A7B50
monochromatic
#190518 #480F46 #7B1A76 #AE25A6 #D53ACD

Accessibility & contrast

On white

9.33
#7B1A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1A76
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A76#FFFFFF#000000##FFFFFF
##7B1A761.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3E78
Deuteranopia (green-blind)
#394B74
Tritanopia (blue-blind)
#802847
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1a76;
/* rgb */ color: rgb(123, 26, 118);
/* oklch */ color: oklch(41.9% 0.166 330.4);
Tailwind
colors: {
  custom: {
    50: '#a5639e',
    500: '#7b1a76',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a76;
$custom-light: #a5639e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a76",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 303.093,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4191,
    "c": 0.16643,
    "h": 330.4
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#7B1A76
secondary
#42AF47
accent
#E84840
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1A76

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

Preview Lab → · Contrast checker → · Palette generator →

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