#7C1081#7C1081

#7C1081 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.1% C 0.184 H 326.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7C1081
RGBrgb(124, 16, 129)
HSLhsl(297, 78%, 28%)
HSVhsv(297, 88%, 51%)
CMYKcmyk(3.9%, 87.6%, 0%, 49.4%)
CIE-LABlab(30.01, 55.66, -36.79)
CIE-LCHlch(30.01, 66.72, 326.54°)
OKLaboklab(42.13% 0.1527 -0.1025)
OKLCHoklch(42.13% 0.184 326.1)
XYZxyz(12.4597, 6.2415, 21.3131)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1081 #158110
analogous
#431081 #7C1081 #81104D
triadic
#7C1081 #817C10 #10817C
tetradic
#7C1081 #814310 #158110 #104D81
square
#7C1081 #814310 #158110 #104D81
split-complementary
#7C1081 #4D8110 #108143
monochromatic
#1A031B #48094B #7C1081 #B017B7 #DC27E4

Accessibility & contrast

On white

9.34
#7C1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7C1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1081
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1081#FFFFFF#000000##FFFFFF
##7C10811.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#2F4B7F
Tritanopia (blue-blind)
#7F284B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1081;
/* rgb */ color: rgb(124, 16, 129);
/* oklch */ color: oklch(42.1% 0.184 326.1);
Tailwind
colors: {
  custom: {
    50: '#a660a6',
    500: '#7c1081',
    950: '#000000',
  },
}
SCSS
$custom: #7c1081;
$custom-light: #a660a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1081",
  "rgb": {
    "r": 124,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 297.345,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.18393,
    "h": 326.1
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#7C1081
secondary
#3CB736
accent
#F4333C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1081

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

Preview Lab → · Contrast checker → · Palette generator →

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