#7B1073#7B1073

#7B1073 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.173 H 331.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7B1073
RGBrgb(123, 16, 115)
HSLhsl(304, 77%, 27%)
HSVhsv(304, 87%, 48%)
CMYKcmyk(0%, 87%, 6.5%, 51.8%)
CIE-LABlab(28.95, 53.16, -29.63)
CIE-LCHlch(28.95, 60.86, 330.87°)
OKLaboklab(41.07% 0.1524 -0.0817)
OKLCHoklch(41.07% 0.173 331.8)
XYZxyz(11.4482, 5.8203, 16.7368)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1073 #107B18
analogous
#4E107B #7B1073 #7B103E
triadic
#7B1073 #737B10 #10737B
tetradic
#7B1073 #7B4E10 #107B18 #103E7B
square
#7B1073 #7B4E10 #107B18 #103E7B
split-complementary
#7B1073 #3E7B10 #107B4E
monochromatic
#1B0419 #450940 #7B1073 #B117A6 #E223D4

Accessibility & contrast

On white

9.71
#7B1073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B1073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1073
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1073#FFFFFF#000000##FFFFFF
##7B10731.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023B75
Deuteranopia (green-blind)
#374971
Tritanopia (blue-blind)
#802043
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1073;
/* rgb */ color: rgb(123, 16, 115);
/* oklch */ color: oklch(41.1% 0.173 331.8);
Tailwind
colors: {
  custom: {
    50: '#a55f9c',
    500: '#7b1073',
    950: '#000000',
  },
}
SCSS
$custom: #7b1073;
$custom-light: #a55f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1073",
  "rgb": {
    "r": 123,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 304.486,
    "s": 76.978,
    "l": 27.255
  },
  "oklch": {
    "l": 0.41069,
    "c": 0.17296,
    "h": 331.8
  },
  "luminance": 0.05819
}

Semantic roles & 50–950 ramp

primary
#7B1073
secondary
#35B23F
accent
#F44334
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7B1073

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

Preview Lab → · Contrast checker → · Palette generator →

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