#7C1F76#7C1F76

#7C1F76 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.161 H 330.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7C1F76
RGBrgb(124, 31, 118)
HSLhsl(304, 60%, 30%)
HSVhsv(304, 75%, 49%)
CMYKcmyk(0%, 75%, 4.8%, 51.4%)
CIE-LABlab(30.82, 49.54, -28.58)
CIE-LCHlch(30.82, 57.19, 330.02°)
OKLaboklab(42.49% 0.141 -0.0787)
OKLCHoklch(42.49% 0.161 330.8)
XYZxyz(12.0722, 6.5740, 17.7691)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F76 #1F7C25
analogous
#531F7C #7C1F76 #7C1F47
triadic
#7C1F76 #767C1F #1F767C
tetradic
#7C1F76 #7C531F #1F7C25 #1F477C
square
#7C1F76 #7C531F #1F7C25 #1F477C
split-complementary
#7C1F76 #477C1F #1F7C53
monochromatic
#1A0719 #4B1347 #7C1F76 #AD2BA5 #D045C7

Accessibility & contrast

On white

9.07
#7C1F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7C1F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1F76
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F76#FFFFFF#000000##FFFFFF
##7C1F761.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164078
Deuteranopia (green-blind)
#3C4D74
Tritanopia (blue-blind)
#812B48
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c1f76;
/* rgb */ color: rgb(124, 31, 118);
/* oklch */ color: oklch(42.5% 0.161 330.8);
Tailwind
colors: {
  custom: {
    50: '#a5659e',
    500: '#7c1f76',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f76;
$custom-light: #a5659e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f76",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 303.871,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42489,
    "c": 0.16149,
    "h": 330.8
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#7C1F76
secondary
#48AF4E
accent
#E34F45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1F76

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

Preview Lab → · Contrast checker → · Palette generator →

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