#7B1474#7B1474

#7B1474 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.171 H 331.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7B1474
RGBrgb(123, 20, 116)
HSLhsl(304, 72%, 28%)
HSVhsv(304, 84%, 48%)
CMYKcmyk(0%, 83.7%, 5.7%, 51.8%)
CIE-LABlab(29.34, 52.36, -29.65)
CIE-LCHlch(29.34, 60.17, 330.48°)
OKLaboklab(41.37% 0.1496 -0.0818)
OKLCHoklch(41.37% 0.171 331.3)
XYZxyz(11.5709, 5.9732, 17.0631)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1474 #147B1B
analogous
#4E147B #7B1474 #7B1440
triadic
#7B1474 #747B14 #14747B
tetradic
#7B1474 #7B4E14 #147B1B #14407B
square
#7B1474 #7B4E14 #147B1B #14407B
split-complementary
#7B1474 #407B14 #147B4E
monochromatic
#1A0419 #460B42 #7B1474 #B01DA6 #DD2DD1

Accessibility & contrast

On white

9.57
#7B1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7B1474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1474
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1474#FFFFFF#000000##FFFFFF
##7B14741.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C76
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#802345
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1474;
/* rgb */ color: rgb(123, 20, 116);
/* oklch */ color: oklch(41.4% 0.171 331.3);
Tailwind
colors: {
  custom: {
    50: '#a5619c',
    500: '#7b1474',
    950: '#000000',
  },
}
SCSS
$custom: #7b1474;
$custom-light: #a5619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1474",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 304.078,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.17053,
    "h": 331.3
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#7B1474
secondary
#3AB142
accent
#EF4539
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1474

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

Preview Lab → · Contrast checker → · Palette generator →

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