#7B1679#7B1679

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

Color values

HEX#7B1679
RGBrgb(123, 22, 121)
HSLhsl(301, 70%, 28%)
HSVhsv(301, 82%, 48%)
CMYKcmyk(0%, 82.1%, 1.6%, 51.8%)
CIE-LABlab(29.83, 52.64, -32.05)
CIE-LCHlch(29.83, 61.64, 328.66°)
OKLaboklab(41.81% 0.148 -0.0888)
OKLCHoklch(41.81% 0.173 329)
XYZxyz(11.9064, 6.1662, 18.6485)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1679 #167B18
analogous
#4A167B #7B1679 #7B1646
triadic
#7B1679 #797B16 #16797B
tetradic
#7B1679 #7B4A16 #167B18 #16467B
square
#7B1679 #7B4A16 #167B18 #16467B
split-complementary
#7B1679 #467B16 #167B4A
monochromatic
#1A051A #470D46 #7B1679 #AF1FAC #DA31D7

Accessibility & contrast

On white

9.40
#7B1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1679
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1679#FFFFFF#000000##FFFFFF
##7B16791.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1679;
/* rgb */ color: rgb(123, 22, 121);
/* oklch */ color: oklch(41.8% 0.173 329.0);
Tailwind
colors: {
  custom: {
    50: '#a562a0',
    500: '#7b1679',
    950: '#000000',
  },
}
SCSS
$custom: #7b1679;
$custom-light: #a562a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1679",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 301.188,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41805,
    "c": 0.1726,
    "h": 329
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#7B1679
secondary
#3DB03F
accent
#EC3F3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7B1679

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

Preview Lab → · Contrast checker → · Palette generator →

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