#7C1A8E#7C1A8E

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

Color values

HEX#7C1A8E
RGBrgb(124, 26, 142)
HSLhsl(291, 69%, 33%)
HSVhsv(291, 82%, 56%)
CMYKcmyk(12.7%, 81.7%, 0%, 44.3%)
CIE-LABlab(31.76, 55.44, -42.09)
CIE-LCHlch(31.76, 69.61, 322.80°)
OKLaboklab(43.64% 0.1442 -0.1181)
OKLCHoklch(43.64% 0.186 320.7)
XYZxyz(13.5635, 6.9776, 26.2183)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A8E #2C8E1A
analogous
#421A8E #7C1A8E #8E1A66
triadic
#7C1A8E #8E7C1A #1A8E7C
tetradic
#7C1A8E #8E421A #2C8E1A #1A668E
square
#7C1A8E #8E421A #2C8E1A #1A668E
split-complementary
#7C1A8E #668E1A #1A8E42
monochromatic
#220727 #4F115A #7C1A8E #A923C2 #C545DD

Accessibility & contrast

On white

8.77
#7C1A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1A8E
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A8E#FFFFFF#000000##FFFFFF
##7C1A8E1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#7D3455
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1a8e;
/* rgb */ color: rgb(124, 26, 142);
/* oklch */ color: oklch(43.6% 0.186 320.7);
Tailwind
colors: {
  custom: {
    50: '#a664b0',
    500: '#7c1a8e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a8e;
$custom-light: #a664b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a8e",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 290.69,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43639,
    "c": 0.1864,
    "h": 320.7
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#7C1A8E
secondary
#58BE45
accent
#EC3C57
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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