#7C1E8A#7C1E8A

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

Color values

HEX#7C1E8A
RGBrgb(124, 30, 138)
HSLhsl(292, 64%, 33%)
HSVhsv(292, 78%, 54%)
CMYKcmyk(10.1%, 78.3%, 0%, 45.9%)
CIE-LABlab(31.92, 53.45, -39.35)
CIE-LCHlch(31.92, 66.37, 323.64°)
OKLaboklab(43.67% 0.1413 -0.1101)
OKLCHoklch(43.67% 0.179 322.1)
XYZxyz(13.3634, 7.0494, 24.6966)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E8A #2C8A1E
analogous
#461E8A #7C1E8A #8A1E62
triadic
#7C1E8A #8A7C1E #1E8A7C
tetradic
#7C1E8A #8A461E #2C8A1E #1E628A
square
#7C1E8A #8A461E #2C8A1E #1E628A
split-complementary
#7C1E8A #628A1E #1E8A46
monochromatic
#220825 #4F1358 #7C1E8A #A929BC #C54BD8

Accessibility & contrast

On white

8.71
#7C1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7C1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E8A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E8A#FFFFFF#000000##FFFFFF
##7C1E8A1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1e8a;
/* rgb */ color: rgb(124, 30, 138);
/* oklch */ color: oklch(43.7% 0.179 322.1);
Tailwind
colors: {
  custom: {
    50: '#a665ad',
    500: '#7c1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e8a;
$custom-light: #a665ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e8a",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 292.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43669,
    "c": 0.17917,
    "h": 322.1
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#7C1E8A
secondary
#58BA4A
accent
#E74156
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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