#7C1174#7C1174

#7C1174 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.173 H 331.8°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7C1174
RGBrgb(124, 17, 116)
HSLhsl(304, 76%, 28%)
HSVhsv(304, 86%, 49%)
CMYKcmyk(0%, 86.3%, 6.5%, 51.4%)
CIE-LABlab(29.28, 53.30, -29.74)
CIE-LCHlch(29.28, 61.04, 330.84°)
OKLaboklab(41.36% 0.1528 -0.082)
OKLCHoklch(41.36% 0.173 331.8)
XYZxyz(11.6650, 5.9479, 17.0533)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1174 #117C19
analogous
#4E117C #7C1174 #7C113E
triadic
#7C1174 #747C11 #11747C
tetradic
#7C1174 #7C4E11 #117C19 #113E7C
square
#7C1174 #7C4E11 #117C19 #113E7C
split-complementary
#7C1174 #3E7C11 #117C4E
monochromatic
#1B0419 #460A42 #7C1174 #B218A6 #E126D3

Accessibility & contrast

On white

9.59
#7C1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7C1174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1174
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1174#FFFFFF#000000##FFFFFF
##7C11741.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033C76
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#822144
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1174;
/* rgb */ color: rgb(124, 17, 116);
/* oklch */ color: oklch(41.4% 0.173 331.8);
Tailwind
colors: {
  custom: {
    50: '#a6609c',
    500: '#7c1174',
    950: '#000000',
  },
}
SCSS
$custom: #7c1174;
$custom-light: #a6609c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1174",
  "rgb": {
    "r": 124,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 304.486,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41355,
    "c": 0.17343,
    "h": 331.8
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#7C1174
secondary
#37B240
accent
#F24335
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7C1174

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

Preview Lab → · Contrast checker → · Palette generator →

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