#7B1E73#7B1E73

#7B1E73 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.160 H 331.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7B1E73
RGBrgb(123, 30, 115)
HSLhsl(305, 61%, 30%)
HSVhsv(305, 76%, 48%)
CMYKcmyk(0%, 75.6%, 6.5%, 51.8%)
CIE-LABlab(30.35, 49.14, -27.42)
CIE-LCHlch(30.35, 56.28, 330.84°)
OKLaboklab(42.06% 0.1408 -0.0754)
OKLCHoklch(42.06% 0.16 331.8)
XYZxyz(11.7272, 6.3783, 16.8298)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E73 #1E7B26
analogous
#541E7B #7B1E73 #7B1E45
triadic
#7B1E73 #737B1E #1E737B
tetradic
#7B1E73 #7B541E #1E7B26 #1E457B
square
#7B1E73 #7B541E #1E7B26 #1E457B
split-complementary
#7B1E73 #457B1E #1E7B54
monochromatic
#190617 #4A1245 #7B1E73 #AC2AA1 #D142C5

Accessibility & contrast

On white

9.23
#7B1E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7B1E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E73
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E73#FFFFFF#000000##FFFFFF
##7B1E731.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F75
Deuteranopia (green-blind)
#3C4C71
Tritanopia (blue-blind)
#802946
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1e73;
/* rgb */ color: rgb(123, 30, 115);
/* oklch */ color: oklch(42.1% 0.160 331.8);
Tailwind
colors: {
  custom: {
    50: '#a4649b',
    500: '#7b1e73',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e73;
$custom-light: #a4649b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e73",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 305.161,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.42064,
    "c": 0.15971,
    "h": 331.8
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#7B1E73
secondary
#46AE4F
accent
#E45244
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1E73

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

Preview Lab → · Contrast checker → · Palette generator →

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