#7B1973#7B1973

#7B1973 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.165 H 331.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7B1973
RGBrgb(123, 25, 115)
HSLhsl(305, 66%, 29%)
HSVhsv(305, 80%, 48%)
CMYKcmyk(0%, 79.7%, 6.5%, 51.8%)
CIE-LABlab(29.78, 50.78, -28.33)
CIE-LCHlch(29.78, 58.15, 330.85°)
OKLaboklab(41.65% 0.1455 -0.078)
OKLCHoklch(41.65% 0.165 331.8)
XYZxyz(11.6105, 6.1450, 16.7909)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1973 #197B21
analogous
#52197B #7B1973 #7B1942
triadic
#7B1973 #737B19 #19737B
tetradic
#7B1973 #7B5219 #197B21 #19427B
square
#7B1973 #7B5219 #197B21 #19427B
split-complementary
#7B1973 #427B19 #197B52
monochromatic
#190518 #480F43 #7B1973 #AE23A3 #D738CA

Accessibility & contrast

On white

9.42
#7B1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1973
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1973#FFFFFF#000000##FFFFFF
##7B19731.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D75
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#802545
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1973;
/* rgb */ color: rgb(123, 25, 115);
/* oklch */ color: oklch(41.7% 0.165 331.8);
Tailwind
colors: {
  custom: {
    50: '#a5629b',
    500: '#7b1973',
    950: '#000000',
  },
}
SCSS
$custom: #7b1973;
$custom-light: #a5629b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1973",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 304.898,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41654,
    "c": 0.16512,
    "h": 331.8
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#7B1973
secondary
#40AF49
accent
#E94D3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1973

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

Preview Lab → · Contrast checker → · Palette generator →

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