#7C1D8A#7C1D8A

#7C1D8A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.180 H 322.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7C1D8A
RGBrgb(124, 29, 138)
HSLhsl(292, 65%, 33%)
HSVhsv(292, 79%, 54%)
CMYKcmyk(10.1%, 79%, 0%, 45.9%)
CIE-LABlab(31.81, 53.77, -39.53)
CIE-LCHlch(31.81, 66.74, 323.68°)
OKLaboklab(43.59% 0.1422 -0.1106)
OKLCHoklch(43.59% 0.18 322.1)
XYZxyz(13.3385, 6.9996, 24.6883)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D8A #2B8A1D
analogous
#461D8A #7C1D8A #8A1D61
triadic
#7C1D8A #8A7C1D #1D8A7C
tetradic
#7C1D8A #8A461D #2B8A1D #1D618A
square
#7C1D8A #8A461D #2B8A1D #1D618A
split-complementary
#7C1D8A #618A1D #1D8A46
monochromatic
#210825 #4F1257 #7C1D8A #A928BD #C649D9

Accessibility & contrast

On white

8.75
#7C1D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7C1D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1D8A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D8A#FFFFFF#000000##FFFFFF
##7C1D8A1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#2D4E88
Tritanopia (blue-blind)
#7D3353
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1d8a;
/* rgb */ color: rgb(124, 29, 138);
/* oklch */ color: oklch(43.6% 0.180 322.1);
Tailwind
colors: {
  custom: {
    50: '#a665ad',
    500: '#7c1d8a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d8a;
$custom-light: #a665ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d8a",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 292.294,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43589,
    "c": 0.18019,
    "h": 322.1
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#7C1D8A
secondary
#57BB48
accent
#E84055
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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