#7C1C8A#7C1C8A

#7C1C8A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.181 H 322.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7C1C8A
RGBrgb(124, 28, 138)
HSLhsl(292, 66%, 33%)
HSVhsv(292, 80%, 54%)
CMYKcmyk(10.1%, 79.7%, 0%, 45.9%)
CIE-LABlab(31.70, 54.09, -39.71)
CIE-LCHlch(31.70, 67.10, 323.72°)
OKLaboklab(43.51% 0.1431 -0.1111)
OKLCHoklch(43.51% 0.181 322.2)
XYZxyz(13.3144, 6.9514, 24.6803)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C8A #2A8A1C
analogous
#451C8A #7C1C8A #8A1C61
triadic
#7C1C8A #8A7C1C #1C8A7C
tetradic
#7C1C8A #8A451C #2A8A1C #1C618A
square
#7C1C8A #8A451C #2A8A1C #1C618A
split-complementary
#7C1C8A #618A1C #1C8A45
monochromatic
#210724 #4E1257 #7C1C8A #AA26BD #C747DA

Accessibility & contrast

On white

8.79
#7C1C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7C1C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C8A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C8A#FFFFFF#000000##FFFFFF
##7C1C8A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.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: #7c1c8a;
/* rgb */ color: rgb(124, 28, 138);
/* oklch */ color: oklch(43.5% 0.181 322.2);
Tailwind
colors: {
  custom: {
    50: '#a665ad',
    500: '#7c1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c8a;
$custom-light: #a665ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c8a",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 292.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43511,
    "c": 0.18117,
    "h": 322.2
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#7C1C8A
secondary
#55BB46
accent
#E93F54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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