#7C1D82#7C1D82

#7C1D82 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.173 H 325.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7C1D82
RGBrgb(124, 29, 130)
HSLhsl(296, 64%, 31%)
HSVhsv(296, 78%, 51%)
CMYKcmyk(4.6%, 77.7%, 0%, 49%)
CIE-LABlab(31.29, 52.31, -35.37)
CIE-LCHlch(31.29, 63.15, 325.93°)
OKLaboklab(43.06% 0.1428 -0.0985)
OKLCHoklch(43.06% 0.173 325.4)
XYZxyz(12.7805, 6.7764, 21.7496)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D82 #23821D
analogous
#491D82 #7C1D82 #821D55
triadic
#7C1D82 #827C1D #1D827C
tetradic
#7C1D82 #82491D #23821D #1D5582
square
#7C1D82 #82491D #23821D #1D5582
split-complementary
#7C1D82 #55821D #1D8249
monochromatic
#1D071E #4C1250 #7C1D82 #AC28B4 #CD44D5

Accessibility & contrast

On white

8.92
#7C1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7C1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1D82
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D82#FFFFFF#000000##FFFFFF
##7C1D821.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#344E80
Tritanopia (blue-blind)
#7F2F4F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c1d82;
/* rgb */ color: rgb(124, 29, 130);
/* oklch */ color: oklch(43.1% 0.173 325.4);
Tailwind
colors: {
  custom: {
    50: '#a565a7',
    500: '#7c1d82',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d82;
$custom-light: #a565a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d82",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 296.436,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43059,
    "c": 0.17349,
    "h": 325.4
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#7C1D82
secondary
#4CB546
accent
#E7414B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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