#7C1B88#7C1B88

#7C1B88 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.180 H 323.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7C1B88
RGBrgb(124, 27, 136)
HSLhsl(293, 67%, 32%)
HSVhsv(293, 80%, 53%)
CMYKcmyk(8.8%, 80.1%, 0%, 46.7%)
CIE-LABlab(31.46, 54.03, -38.85)
CIE-LCHlch(31.46, 66.55, 324.28°)
OKLaboklab(43.3% 0.1441 -0.1086)
OKLCHoklch(43.3% 0.18 323)
XYZxyz(13.1476, 6.8473, 23.9169)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B88 #27881B
analogous
#451B88 #7C1B88 #881B5E
triadic
#7C1B88 #887C1B #1B887C
tetradic
#7C1B88 #88451B #27881B #1B5E88
square
#7C1B88 #88451B #27881B #1B5E88
split-complementary
#7C1B88 #5E881B #1B8845
monochromatic
#1F0722 #4D1155 #7C1B88 #AB25BB #C944DA

Accessibility & contrast

On white

8.86
#7C1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7C1B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B88
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B88#FFFFFF#000000##FFFFFF
##7C1B881.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#7E3152
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c1b88;
/* rgb */ color: rgb(124, 27, 136);
/* oklch */ color: oklch(43.3% 0.180 323.0);
Tailwind
colors: {
  custom: {
    50: '#a664ab',
    500: '#7c1b88',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b88;
$custom-light: #a664ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b88",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 293.394,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43299,
    "c": 0.18047,
    "h": 323
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#7C1B88
secondary
#51BB44
accent
#EA3E51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1B88

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

Preview Lab → · Contrast checker → · Palette generator →

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