#7B1D73#7B1D73

#7B1D73 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.161 H 331.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7B1D73
RGBrgb(123, 29, 115)
HSLhsl(305, 62%, 30%)
HSVhsv(305, 76%, 48%)
CMYKcmyk(0%, 76.4%, 6.5%, 51.8%)
CIE-LABlab(30.23, 49.49, -27.62)
CIE-LCHlch(30.23, 56.67, 330.84°)
OKLaboklab(41.98% 0.1418 -0.076)
OKLCHoklch(41.98% 0.161 331.8)
XYZxyz(11.7023, 6.3284, 16.8215)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D73 #1D7B25
analogous
#541D7B #7B1D73 #7B1D44
triadic
#7B1D73 #737B1D #1D737B
tetradic
#7B1D73 #7B541D #1D7B25 #1D447B
square
#7B1D73 #7B541D #1D7B25 #1D447B
split-complementary
#7B1D73 #447B1D #1D7B54
monochromatic
#190617 #491145 #7B1D73 #AD29A1 #D240C6

Accessibility & contrast

On white

9.27
#7B1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7B1D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D73
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D73#FFFFFF#000000##FFFFFF
##7B1D731.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F75
Deuteranopia (green-blind)
#3B4C71
Tritanopia (blue-blind)
#802846
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1d73;
/* rgb */ color: rgb(123, 29, 115);
/* oklch */ color: oklch(42.0% 0.161 331.8);
Tailwind
colors: {
  custom: {
    50: '#a4649b',
    500: '#7b1d73',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d73;
$custom-light: #a4649b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d73",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 305.106,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41977,
    "c": 0.16086,
    "h": 331.8
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#7B1D73
secondary
#45AF4E
accent
#E55143
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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