#7B1481#7B1481

#7B1481 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.181 H 325.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7B1481
RGBrgb(123, 20, 129)
HSLhsl(297, 73%, 29%)
HSVhsv(297, 84%, 51%)
CMYKcmyk(4.7%, 84.5%, 0%, 49.4%)
CIE-LABlab(30.15, 54.54, -36.58)
CIE-LCHlch(30.15, 65.67, 326.15°)
OKLaboklab(42.2% 0.149 -0.102)
OKLCHoklch(42.2% 0.181 325.6)
XYZxyz(12.3807, 6.2971, 21.3280)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1481 #1A8114
analogous
#451481 #7B1481 #811451
triadic
#7B1481 #817B14 #14817B
tetradic
#7B1481 #814514 #1A8114 #145181
square
#7B1481 #814514 #1A8114 #145181
split-complementary
#7B1481 #518114 #148145
monochromatic
#19041A #480C4C #7B1481 #AE1CB6 #D530DF

Accessibility & contrast

On white

9.30
#7B1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7B1481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1481
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1481#FFFFFF#000000##FFFFFF
##7B14811.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#2F4B7F
Tritanopia (blue-blind)
#7E2A4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1481;
/* rgb */ color: rgb(123, 20, 129);
/* oklch */ color: oklch(42.2% 0.181 325.6);
Tailwind
colors: {
  custom: {
    50: '#a561a6',
    500: '#7b1481',
    950: '#000000',
  },
}
SCSS
$custom: #7b1481;
$custom-light: #a561a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1481",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 296.697,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42195,
    "c": 0.18055,
    "h": 325.6
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#7B1481
secondary
#42B63B
accent
#F03842
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B1481

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

Preview Lab → · Contrast checker → · Palette generator →

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