#7C1B71#7C1B71

#7C1B71 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.162 H 333.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7C1B71
RGBrgb(124, 27, 113)
HSLhsl(307, 64%, 30%)
HSVhsv(307, 78%, 49%)
CMYKcmyk(0%, 78.2%, 8.9%, 51.4%)
CIE-LABlab(30.06, 50.06, -26.58)
CIE-LCHlch(30.06, 56.68, 332.03°)
OKLaboklab(41.86% 0.1447 -0.073)
OKLCHoklch(41.86% 0.162 333.2)
XYZxyz(11.6848, 6.2622, 16.2129)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B71 #1B7C26
analogous
#571B7C #7C1B71 #7C1B41
triadic
#7C1B71 #717C1B #1B717C
tetradic
#7C1B71 #7C571B #1B7C26 #1B417C
square
#7C1B71 #7C571B #1B7C26 #1B417C
split-complementary
#7C1B71 #417C1B #1B7C57
monochromatic
#190517 #4A1043 #7C1B71 #AE269F #D53DC3

Accessibility & contrast

On white

9.32
#7C1B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7C1B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B71
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B71#FFFFFF#000000##FFFFFF
##7C1B711.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#3C4C6F
Tritanopia (blue-blind)
#822545
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1b71;
/* rgb */ color: rgb(124, 27, 113);
/* oklch */ color: oklch(41.9% 0.162 333.2);
Tailwind
colors: {
  custom: {
    50: '#a5639a',
    500: '#7c1b71',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b71;
$custom-light: #a5639a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b71",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 306.804,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41859,
    "c": 0.16206,
    "h": 333.2
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#7C1B71
secondary
#43B04F
accent
#E75341
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1B71

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

Preview Lab → · Contrast checker → · Palette generator →

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