#7B1E7B#7B1E7B

#7B1E7B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.166 H 328.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7B1E7B
RGBrgb(123, 30, 123)
HSLhsl(300, 61%, 30%)
HSVhsv(300, 76%, 48%)
CMYKcmyk(0%, 75.6%, 0%, 51.8%)
CIE-LABlab(30.81, 50.51, -31.76)
CIE-LCHlch(30.81, 59.67, 327.84°)
OKLaboklab(42.54% 0.1409 -0.088)
OKLCHoklch(42.54% 0.166 328)
XYZxyz(12.2077, 6.5704, 19.3603)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E7B #1E7B1E
analogous
#4C1E7B #7B1E7B #7B1E4D
triadic
#7B1E7B #7B7B1E #1E7B7B
tetradic
#7B1E7B #7B4D1E #1E7B1E #1E4C7B
square
#7B1E7B #7B4D1E #1E7B1E #1E4C7B
split-complementary
#7B1E7B #4D7B1E #1E7B4D
monochromatic
#190619 #4A124A #7B1E7B #AC2AAC #D142D1

Accessibility & contrast

On white

9.08
#7B1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7B1E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E7B
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E7B#FFFFFF#000000##FFFFFF
##7B1E7B1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B417E
Deuteranopia (green-blind)
#374D79
Tritanopia (blue-blind)
#7F2D4B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b1e7b;
/* rgb */ color: rgb(123, 30, 123);
/* oklch */ color: oklch(42.5% 0.166 328.0);
Tailwind
colors: {
  custom: {
    50: '#a465a1',
    500: '#7b1e7b',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e7b;
$custom-light: #a465a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e7b",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 300,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.42543,
    "c": 0.16616,
    "h": 328
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#7B1E7B
secondary
#46AE46
accent
#E44444
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B1E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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