#7B1A79#7B1A79

#7B1A79 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.169 H 329.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7B1A79
RGBrgb(123, 26, 121)
HSLhsl(301, 65%, 29%)
HSVhsv(301, 79%, 48%)
CMYKcmyk(0%, 78.9%, 1.6%, 51.8%)
CIE-LABlab(30.23, 51.48, -31.41)
CIE-LCHlch(30.23, 60.30, 328.61°)
OKLaboklab(42.09% 0.1447 -0.087)
OKLCHoklch(42.09% 0.169 329)
XYZxyz(11.9889, 6.3311, 18.6760)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A79 #1A7B1C
analogous
#4D1A7B #7B1A79 #7B1A49
triadic
#7B1A79 #797B1A #1A797B
tetradic
#7B1A79 #7B4D1A #1A7B1C #1A497B
square
#7B1A79 #7B4D1A #1A7B1C #1A497B
split-complementary
#7B1A79 #497B1A #1A7B4D
monochromatic
#190519 #480F47 #7B1A79 #AE25AB #D53AD2

Accessibility & contrast

On white

9.27
#7B1A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7B1A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A79
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A79#FFFFFF#000000##FFFFFF
##7B1A791.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063F7C
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#7F2949
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1a79;
/* rgb */ color: rgb(123, 26, 121);
/* oklch */ color: oklch(42.1% 0.169 329.0);
Tailwind
colors: {
  custom: {
    50: '#a563a0',
    500: '#7b1a79',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a79;
$custom-light: #a563a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a79",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 301.237,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42094,
    "c": 0.16879,
    "h": 329
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#7B1A79
secondary
#42AF44
accent
#E84340
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7B1A79

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

Preview Lab → · Contrast checker → · Palette generator →

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