#7B1480#7B1480

#7B1480 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.180 H 326.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7B1480
RGBrgb(123, 20, 128)
HSLhsl(297, 73%, 29%)
HSVhsv(297, 84%, 50%)
CMYKcmyk(3.9%, 84.4%, 0%, 49.8%)
CIE-LABlab(30.09, 54.36, -36.06)
CIE-LCHlch(30.09, 65.23, 326.44°)
OKLaboklab(42.13% 0.1491 -0.1005)
OKLCHoklch(42.13% 0.18 326)
XYZxyz(12.3146, 6.2706, 20.9796)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1480 #198014
analogous
#451480 #7B1480 #80144F
triadic
#7B1480 #807B14 #14807B
tetradic
#7B1480 #804514 #198014 #144F80
square
#7B1480 #804514 #198014 #144F80
split-complementary
#7B1480 #4F8014 #148045
monochromatic
#19041A #480C4B #7B1480 #AE1CB5 #D730DF

Accessibility & contrast

On white

9.32
#7B1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7B1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1480
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1480#FFFFFF#000000##FFFFFF
##7B14801.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#304B7E
Tritanopia (blue-blind)
#7E2A4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1480;
/* rgb */ color: rgb(123, 20, 128);
/* oklch */ color: oklch(42.1% 0.180 326.0);
Tailwind
colors: {
  custom: {
    50: '#a561a5',
    500: '#7b1480',
    950: '#000000',
  },
}
SCSS
$custom: #7b1480;
$custom-light: #a561a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1480",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 297.222,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42129,
    "c": 0.17976,
    "h": 326
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#7B1480
secondary
#40B53B
accent
#F03841
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B1480

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

Preview Lab → · Contrast checker → · Palette generator →

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