#7C1A71#7C1A71

#7C1A71 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.163 H 333.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7C1A71
RGBrgb(124, 26, 113)
HSLhsl(307, 65%, 29%)
HSVhsv(307, 79%, 49%)
CMYKcmyk(0%, 79%, 8.9%, 51.4%)
CIE-LABlab(29.95, 50.38, -26.76)
CIE-LCHlch(29.95, 57.05, 332.03°)
OKLaboklab(41.78% 0.1456 -0.0735)
OKLCHoklch(41.78% 0.163 333.2)
XYZxyz(11.6623, 6.2171, 16.2054)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A71 #1A7C25
analogous
#561A7C #7C1A71 #7C1A40
triadic
#7C1A71 #717C1A #1A717C
tetradic
#7C1A71 #7C561A #1A7C25 #1A407C
square
#7C1A71 #7C561A #1A7C25 #1A407C
split-complementary
#7C1A71 #407C1A #1A7C56
monochromatic
#190517 #490F43 #7C1A71 #AF259F #D63BC4

Accessibility & contrast

On white

9.36
#7C1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7C1A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A71
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A71#FFFFFF#000000##FFFFFF
##7C1A711.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E73
Deuteranopia (green-blind)
#3C4B6F
Tritanopia (blue-blind)
#822544
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1a71;
/* rgb */ color: rgb(124, 26, 113);
/* oklch */ color: oklch(41.8% 0.163 333.2);
Tailwind
colors: {
  custom: {
    50: '#a5639a',
    500: '#7c1a71',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a71;
$custom-light: #a5639a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a71",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 306.735,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4178,
    "c": 0.16311,
    "h": 333.2
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#7C1A71
secondary
#42B04E
accent
#E85240
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1A71

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

Preview Lab → · Contrast checker → · Palette generator →

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