#7B1779#7B1779

#7B1779 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.172 H 329.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7B1779
RGBrgb(123, 23, 121)
HSLhsl(301, 68%, 29%)
HSVhsv(301, 81%, 48%)
CMYKcmyk(0%, 81.3%, 1.6%, 51.8%)
CIE-LABlab(29.92, 52.37, -31.90)
CIE-LCHlch(29.92, 61.32, 328.65°)
OKLaboklab(41.87% 0.1472 -0.0884)
OKLCHoklch(41.87% 0.172 329)
XYZxyz(11.9259, 6.2051, 18.6550)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1779 #177B19
analogous
#4B177B #7B1779 #7B1747
triadic
#7B1779 #797B17 #17797B
tetradic
#7B1779 #7B4B17 #177B19 #17477B
square
#7B1779 #7B4B17 #177B19 #17477B
split-complementary
#7B1779 #477B17 #177B4B
monochromatic
#1A0519 #470D46 #7B1779 #AF21AC #D933D6

Accessibility & contrast

On white

9.37
#7B1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7B1779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1779
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1779#FFFFFF#000000##FFFFFF
##7B17791.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#7F2748
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1779;
/* rgb */ color: rgb(123, 23, 121);
/* oklch */ color: oklch(41.9% 0.172 329.0);
Tailwind
colors: {
  custom: {
    50: '#a562a0',
    500: '#7b1779',
    950: '#000000',
  },
}
SCSS
$custom: #7b1779;
$custom-light: #a562a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1779",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 301.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41874,
    "c": 0.1717,
    "h": 329
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#7B1779
secondary
#3EB040
accent
#EB403C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7B1779

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

Preview Lab → · Contrast checker → · Palette generator →

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