#7B1C91#7B1C91

#7B1C91 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.187 H 319.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7B1C91
RGBrgb(123, 28, 145)
HSLhsl(289, 68%, 34%)
HSVhsv(289, 81%, 57%)
CMYKcmyk(15.2%, 80.7%, 0%, 43.1%)
CIE-LABlab(32.00, 55.21, -43.55)
CIE-LCHlch(32.00, 70.32, 321.73°)
OKLaboklab(43.85% 0.141 -0.1224)
OKLCHoklch(43.85% 0.187 319)
XYZxyz(13.6938, 7.0865, 27.4291)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C91 #32911C
analogous
#411C91 #7B1C91 #911C6D
triadic
#7B1C91 #917B1C #1C917B
tetradic
#7B1C91 #91411C #32911C #1C6D91
square
#7B1C91 #91411C #32911C #1C6D91
split-complementary
#7B1C91 #6D911C #1C9141
monochromatic
#24082A #4F125E #7B1C91 #A726C4 #C14BDC

Accessibility & contrast

On white

8.69
#7B1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7B1C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C91
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C91#FFFFFF#000000##FFFFFF
##7B1C911.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#254E8E
Tritanopia (blue-blind)
#7B3657
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b1c91;
/* rgb */ color: rgb(123, 28, 145);
/* oklch */ color: oklch(43.8% 0.187 319.0);
Tailwind
colors: {
  custom: {
    50: '#a565b2',
    500: '#7b1c91',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c91;
$custom-light: #a565b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c91",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 288.718,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43846,
    "c": 0.18671,
    "h": 319
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

primary
#7B1C91
secondary
#60BE4A
accent
#EB3D5E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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