#7B1C73#7B1C73

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

Color values

HEX#7B1C73
RGBrgb(123, 28, 115)
HSLhsl(305, 63%, 30%)
HSVhsv(305, 77%, 48%)
CMYKcmyk(0%, 77.2%, 6.5%, 51.8%)
CIE-LABlab(30.11, 49.83, -27.80)
CIE-LCHlch(30.11, 57.06, 330.84°)
OKLaboklab(41.89% 0.1427 -0.0765)
OKLCHoklch(41.89% 0.162 331.8)
XYZxyz(11.6782, 6.2802, 16.8135)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C73 #1C7B24
analogous
#541C7B #7B1C73 #7B1C43
triadic
#7B1C73 #737B1C #1C737B
tetradic
#7B1C73 #7B541C #1C7B24 #1C437B
square
#7B1C73 #7B541C #1C7B24 #1C437B
split-complementary
#7B1C73 #437B1C #1C7B54
monochromatic
#190617 #491144 #7B1C73 #AD27A2 #D33EC7

Accessibility & contrast

On white

9.31
#7B1C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1C73
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C73#FFFFFF#000000##FFFFFF
##7B1C731.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E75
Deuteranopia (green-blind)
#3B4C71
Tritanopia (blue-blind)
#802746
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1c73;
/* rgb */ color: rgb(123, 28, 115);
/* oklch */ color: oklch(41.9% 0.162 331.8);
Tailwind
colors: {
  custom: {
    50: '#a4639b',
    500: '#7b1c73',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c73;
$custom-light: #a4639b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c73",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 305.053,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41892,
    "c": 0.16197,
    "h": 331.8
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#7B1C73
secondary
#44AF4D
accent
#E65042
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1C73

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

Preview Lab → · Contrast checker → · Palette generator →

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