#7B1677#7B1677

#7B1677 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.171 H 329.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7B1677
RGBrgb(123, 22, 119)
HSLhsl(302, 70%, 28%)
HSVhsv(302, 82%, 48%)
CMYKcmyk(0%, 82.1%, 3.3%, 51.8%)
CIE-LABlab(29.71, 52.31, -30.98)
CIE-LCHlch(29.71, 60.80, 329.37°)
OKLaboklab(41.68% 0.148 -0.0857)
OKLCHoklch(41.68% 0.171 329.9)
XYZxyz(11.7850, 6.1176, 18.0093)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1677 #167B1A
analogous
#4C167B #7B1677 #7B1644
triadic
#7B1677 #777B16 #16777B
tetradic
#7B1677 #7B4C16 #167B1A #16447B
square
#7B1677 #7B4C16 #167B1A #16447B
split-complementary
#7B1677 #447B16 #167B4C
monochromatic
#1A0519 #470D45 #7B1677 #AF1FA9 #DA31D3

Accessibility & contrast

On white

9.44
#7B1677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7B1677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1677
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1677#FFFFFF#000000##FFFFFF
##7B16771.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D7A
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#802647
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1677;
/* rgb */ color: rgb(123, 22, 119);
/* oklch */ color: oklch(41.7% 0.171 329.9);
Tailwind
colors: {
  custom: {
    50: '#a5619e',
    500: '#7b1677',
    950: '#000000',
  },
}
SCSS
$custom: #7b1677;
$custom-light: #a5619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1677",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 302.376,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41681,
    "c": 0.17106,
    "h": 329.9
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#7B1677
secondary
#3DB041
accent
#EC423B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1677

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

Preview Lab → · Contrast checker → · Palette generator →

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