#7B1979#7B1979

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

Color values

HEX#7B1979
RGBrgb(123, 25, 121)
HSLhsl(301, 66%, 29%)
HSVhsv(301, 80%, 48%)
CMYKcmyk(0%, 79.7%, 1.6%, 51.8%)
CIE-LABlab(30.13, 51.78, -31.58)
CIE-LCHlch(30.13, 60.65, 328.62°)
OKLaboklab(42.02% 0.1455 -0.0874)
OKLCHoklch(42.02% 0.17 329)
XYZxyz(11.9671, 6.2876, 18.6688)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1979 #197B1B
analogous
#4C197B #7B1979 #7B1948
triadic
#7B1979 #797B19 #19797B
tetradic
#7B1979 #7B4C19 #197B1B #19487B
square
#7B1979 #7B4C19 #197B1B #19487B
split-complementary
#7B1979 #487B19 #197B4C
monochromatic
#190519 #480F47 #7B1979 #AE23AB #D738D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1979#FFFFFF#000000##FFFFFF
##7B19791.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)
#043F7C
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#7F2949
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1979;
/* rgb */ color: rgb(123, 25, 121);
/* oklch */ color: oklch(42.0% 0.170 329.0);
Tailwind
colors: {
  custom: {
    50: '#a563a0',
    500: '#7b1979',
    950: '#000000',
  },
}
SCSS
$custom: #7b1979;
$custom-light: #a563a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1979",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 301.224,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42018,
    "c": 0.16979,
    "h": 329
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#7B1979
secondary
#40AF43
accent
#E9423F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7B1979

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

Preview Lab → · Contrast checker → · Palette generator →

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