#7C1A83#7C1A83

#7C1A83 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.177 H 325.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7C1A83
RGBrgb(124, 26, 131)
HSLhsl(296, 67%, 31%)
HSVhsv(296, 80%, 51%)
CMYKcmyk(5.3%, 80.2%, 0%, 48.6%)
CIE-LABlab(31.03, 53.43, -36.42)
CIE-LCHlch(31.03, 64.67, 325.72°)
OKLaboklab(42.89% 0.1454 -0.1015)
OKLCHoklch(42.89% 0.177 325.1)
XYZxyz(12.7780, 6.6634, 22.0815)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A83 #21831A
analogous
#471A83 #7C1A83 #831A55
triadic
#7C1A83 #837C1A #1A837C
tetradic
#7C1A83 #83471A #21831A #1A5583
square
#7C1A83 #83471A #21831A #1A5583
split-complementary
#7C1A83 #55831A #1A8347
monochromatic
#1B061D #4C1050 #7C1A83 #AC24B6 #CF3FD9

Accessibility & contrast

On white

9.00
#7C1A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7C1A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A83
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A83#FFFFFF#000000##FFFFFF
##7C1A831.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#314D81
Tritanopia (blue-blind)
#7F2E4E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c1a83;
/* rgb */ color: rgb(124, 26, 131);
/* oklch */ color: oklch(42.9% 0.177 325.1);
Tailwind
colors: {
  custom: {
    50: '#a564a7',
    500: '#7c1a83',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a83;
$custom-light: #a564a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a83",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 296,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42892,
    "c": 0.17731,
    "h": 325.1
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#7C1A83
secondary
#4AB742
accent
#EA3E49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1A83

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

Preview Lab → · Contrast checker → · Palette generator →

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