#7B1E7C#7B1E7C

#7B1E7C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.167 H 327.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7B1E7C
RGBrgb(123, 30, 124)
HSLhsl(299, 61%, 30%)
HSVhsv(299, 76%, 49%)
CMYKcmyk(0.8%, 75.8%, 0%, 51.4%)
CIE-LABlab(30.87, 50.69, -32.30)
CIE-LCHlch(30.87, 60.10, 327.50°)
OKLaboklab(42.61% 0.1409 -0.0896)
OKLCHoklch(42.61% 0.167 327.6)
XYZxyz(12.2706, 6.5956, 19.6917)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E7C #1F7C1E
analogous
#4C1E7C #7B1E7C #7C1E4E
triadic
#7B1E7C #7C7B1E #1E7C7B
tetradic
#7B1E7C #7C4C1E #1F7C1E #1E4E7C
square
#7B1E7C #7C4C1E #1F7C1E #1E4E7C
split-complementary
#7B1E7C #4E7C1E #1E7C4C
monochromatic
#190619 #4A124B #7B1E7C #AC2AAD #D043D1

Accessibility & contrast

On white

9.06
#7B1E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7B1E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E7C
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E7C#FFFFFF#000000##FFFFFF
##7B1E7C1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08417F
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#7F2D4B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b1e7c;
/* rgb */ color: rgb(123, 30, 124);
/* oklch */ color: oklch(42.6% 0.167 327.6);
Tailwind
colors: {
  custom: {
    50: '#a465a2',
    500: '#7b1e7c',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e7c;
$custom-light: #a465a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e7c",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 299.362,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42605,
    "c": 0.16698,
    "h": 327.6
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#7B1E7C
secondary
#48AF46
accent
#E44445
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B1E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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