#7B1E71#7B1E71

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

Color values

HEX#7B1E71
RGBrgb(123, 30, 113)
HSLhsl(306, 61%, 30%)
HSVhsv(306, 76%, 48%)
CMYKcmyk(0%, 75.6%, 8.1%, 51.8%)
CIE-LABlab(30.24, 48.81, -26.33)
CIE-LCHlch(30.24, 55.46, 331.66°)
OKLaboklab(41.95% 0.1407 -0.0723)
OKLCHoklch(41.95% 0.158 332.8)
XYZxyz(11.6133, 6.3327, 16.2303)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E71 #1E7B28
analogous
#571E7B #7B1E71 #7B1E42
triadic
#7B1E71 #717B1E #1E717B
tetradic
#7B1E71 #7B571E #1E7B28 #1E427B
square
#7B1E71 #7B571E #1E7B28 #1E427B
split-complementary
#7B1E71 #427B1E #1E7B57
monochromatic
#190617 #4A1244 #7B1E71 #AC2A9E #D142C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1E71#FFFFFF#000000##FFFFFF
##7B1E711.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)
#193F73
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#812845
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1e71;
/* rgb */ color: rgb(123, 30, 113);
/* oklch */ color: oklch(41.9% 0.158 332.8);
Tailwind
colors: {
  custom: {
    50: '#a4649a',
    500: '#7b1e71',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e71;
$custom-light: #a4649a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e71",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 306.452,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.41948,
    "c": 0.15815,
    "h": 332.8
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#7B1E71
secondary
#46AE52
accent
#E45544
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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