#7C1E72#7C1E72

#7C1E72 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.160 H 332.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7C1E72
RGBrgb(124, 30, 114)
HSLhsl(306, 61%, 30%)
HSVhsv(306, 76%, 49%)
CMYKcmyk(0%, 75.8%, 8.1%, 51.4%)
CIE-LABlab(30.47, 49.22, -26.58)
CIE-LCHlch(30.47, 55.94, 331.63°)
OKLaboklab(42.17% 0.1418 -0.073)
OKLCHoklch(42.17% 0.16 332.8)
XYZxyz(11.8138, 6.4295, 16.5351)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E72 #1E7C28
analogous
#571E7C #7C1E72 #7C1E43
triadic
#7C1E72 #727C1E #1E727C
tetradic
#7C1E72 #7C571E #1E7C28 #1E437C
square
#7C1E72 #7C571E #1E7C28 #1E437C
split-complementary
#7C1E72 #437C1E #1E7C57
monochromatic
#190617 #4B1245 #7C1E72 #AD2A9F #D143C2

Accessibility & contrast

On white

9.19
#7C1E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7C1E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E72
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E72#FFFFFF#000000##FFFFFF
##7C1E721.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F74
Deuteranopia (green-blind)
#3D4C70
Tritanopia (blue-blind)
#822846
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c1e72;
/* rgb */ color: rgb(124, 30, 114);
/* oklch */ color: oklch(42.2% 0.160 332.8);
Tailwind
colors: {
  custom: {
    50: '#a5649b',
    500: '#7c1e72',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e72;
$custom-light: #a5649b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e72",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 306.383,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42169,
    "c": 0.1595,
    "h": 332.8
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#7C1E72
secondary
#46AF52
accent
#E45544
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1E72

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

Preview Lab → · Contrast checker → · Palette generator →

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