#7C1E8E#7C1E8E

#7C1E8E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.183 H 320.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7C1E8E
RGBrgb(124, 30, 142)
HSLhsl(290, 65%, 34%)
HSVhsv(290, 79%, 56%)
CMYKcmyk(12.7%, 78.9%, 0%, 44.3%)
CIE-LABlab(32.19, 54.20, -41.40)
CIE-LCHlch(32.19, 68.20, 322.63°)
OKLaboklab(43.94% 0.1409 -0.1161)
OKLCHoklch(43.94% 0.183 320.5)
XYZxyz(13.6584, 7.1674, 26.2500)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E8E #308E1E
analogous
#441E8E #7C1E8E #8E1E68
triadic
#7C1E8E #8E7C1E #1E8E7C
tetradic
#7C1E8E #8E441E #308E1E #1E688E
square
#7C1E8E #8E441E #308E1E #1E688E
split-complementary
#7C1E8E #688E1E #1E8E44
monochromatic
#240929 #50135B #7C1E8E #A829C1 #C34DD9

Accessibility & contrast

On white

8.63
#7C1E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7C1E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E8E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E8E#FFFFFF#000000##FFFFFF
##7C1E8E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#7D3556
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c1e8e;
/* rgb */ color: rgb(124, 30, 142);
/* oklch */ color: oklch(43.9% 0.183 320.5);
Tailwind
colors: {
  custom: {
    50: '#a666b0',
    500: '#7c1e8e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e8e;
$custom-light: #a666b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e8e",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 290.357,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43942,
    "c": 0.18259,
    "h": 320.5
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#7C1E8E
secondary
#5EBC4C
accent
#E8405B
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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