#7C1D7A#7C1D7A

#7C1D7A is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.167 H 329.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7C1D7A
RGBrgb(124, 29, 122)
HSLhsl(301, 62%, 30%)
HSVhsv(301, 77%, 49%)
CMYKcmyk(0%, 76.6%, 1.6%, 51.4%)
CIE-LABlab(30.81, 50.91, -31.12)
CIE-LCHlch(30.81, 59.67, 328.56°)
OKLaboklab(42.56% 0.143 -0.0861)
OKLCHoklch(42.56% 0.167 329)
XYZxyz(12.2643, 6.5699, 19.0307)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D7A #1D7C1F
analogous
#4E1D7C #7C1D7A #7C1D4B
triadic
#7C1D7A #7A7C1D #1D7A7C
tetradic
#7C1D7A #7C4E1D #1D7C1F #1D4B7C
square
#7C1D7A #7C4E1D #1D7C1F #1D4B7C
split-complementary
#7C1D7A #4B7C1D #1D7C4E
monochromatic
#190618 #4A1149 #7C1D7A #AE29AB #D341CF

Accessibility & contrast

On white

9.08
#7C1D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1D7A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D7A#FFFFFF#000000##FFFFFF
##7C1D7A1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407D
Deuteranopia (green-blind)
#394D78
Tritanopia (blue-blind)
#802B4A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c1d7a;
/* rgb */ color: rgb(124, 29, 122);
/* oklch */ color: oklch(42.6% 0.167 329.0);
Tailwind
colors: {
  custom: {
    50: '#a564a1',
    500: '#7c1d7a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d7a;
$custom-light: #a564a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d7a",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 301.263,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.42557,
    "c": 0.16695,
    "h": 329
  },
  "luminance": 0.06569
}

Semantic roles & 50–950 ramp

primary
#7C1D7A
secondary
#45B047
accent
#E54643
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7C1D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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