#7B1C84#7B1C84

#7B1C84 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.176 H 324.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7B1C84
RGBrgb(123, 28, 132)
HSLhsl(295, 65%, 31%)
HSVhsv(295, 79%, 52%)
CMYKcmyk(6.8%, 78.8%, 0%, 48.2%)
CIE-LABlab(31.13, 52.78, -36.89)
CIE-LCHlch(31.13, 64.39, 325.05°)
OKLaboklab(42.95% 0.1424 -0.1029)
OKLCHoklch(42.95% 0.176 324.1)
XYZxyz(12.7481, 6.7082, 22.4487)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C84 #25841C
analogous
#471C84 #7B1C84 #841C59
triadic
#7B1C84 #847B1C #1C847B
tetradic
#7B1C84 #84471C #25841C #1C5984
square
#7B1C84 #84471C #25841C #1C5984
split-complementary
#7B1C84 #59841C #1C8447
monochromatic
#1D071F #4C1152 #7B1C84 #AA27B6 #CA43D7

Accessibility & contrast

On white

8.97
#7B1C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7B1C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C84
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C84#FFFFFF#000000##FFFFFF
##7B1C841.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#314D82
Tritanopia (blue-blind)
#7D304F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b1c84;
/* rgb */ color: rgb(123, 28, 132);
/* oklch */ color: oklch(43.0% 0.176 324.1);
Tailwind
colors: {
  custom: {
    50: '#a564a8',
    500: '#7b1c84',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c84;
$custom-light: #a564a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c84",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 294.808,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42953,
    "c": 0.17572,
    "h": 324.1
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#7B1C84
secondary
#4FB745
accent
#E8404E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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