#7C1A73#7C1A73

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

Color values

HEX#7C1A73
RGBrgb(124, 26, 115)
HSLhsl(306, 65%, 29%)
HSVhsv(306, 79%, 49%)
CMYKcmyk(0%, 79%, 7.3%, 51.4%)
CIE-LABlab(30.07, 50.70, -27.86)
CIE-LCHlch(30.07, 57.85, 331.22°)
OKLaboklab(41.9% 0.1457 -0.0766)
OKLCHoklch(41.9% 0.165 332.3)
XYZxyz(11.7761, 6.2627, 16.8049)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A73 #1A7C23
analogous
#541A7C #7C1A73 #7C1A42
triadic
#7C1A73 #737C1A #1A737C
tetradic
#7C1A73 #7C541A #1A7C23 #1A427C
square
#7C1A73 #7C541A #1A7C23 #1A427C
split-complementary
#7C1A73 #427C1A #1A7C54
monochromatic
#190517 #490F44 #7C1A73 #AF25A2 #D63BC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1A73#FFFFFF#000000##FFFFFF
##7C1A731.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)
#133E75
Deuteranopia (green-blind)
#3B4C71
Tritanopia (blue-blind)
#822645
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1a73;
/* rgb */ color: rgb(124, 26, 115);
/* oklch */ color: oklch(41.9% 0.165 332.3);
Tailwind
colors: {
  custom: {
    50: '#a5639b',
    500: '#7c1a73',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a73;
$custom-light: #a5639b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a73",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 305.51,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41896,
    "c": 0.16464,
    "h": 332.3
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#7C1A73
secondary
#42B04C
accent
#E84F40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1A73

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

Preview Lab → · Contrast checker → · Palette generator →

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