#7C1C93#7C1C93

#7C1C93 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.189 H 318.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7C1C93
RGBrgb(124, 28, 147)
HSLhsl(288, 68%, 34%)
HSVhsv(288, 81%, 58%)
CMYKcmyk(15.6%, 81%, 0%, 42.4%)
CIE-LABlab(32.31, 55.79, -44.28)
CIE-LCHlch(32.31, 71.22, 321.56°)
OKLaboklab(44.14% 0.1419 -0.1245)
OKLCHoklch(44.14% 0.189 318.7)
XYZxyz(13.9932, 7.2229, 28.2552)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C93 #33931C
analogous
#401C93 #7C1C93 #931C6F
triadic
#7C1C93 #937C1C #1C937C
tetradic
#7C1C93 #93401C #33931C #1C6F93
square
#7C1C93 #93401C #33931C #1C6F93
split-complementary
#7C1C93 #6F931C #1C9340
monochromatic
#25082C #511260 #7C1C93 #A726C6 #C14CDD

Accessibility & contrast

On white

8.59
#7C1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7C1C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C93
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C93#FFFFFF#000000##FFFFFF
##7C1C931.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#244F90
Tritanopia (blue-blind)
#7C3758
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c1c93;
/* rgb */ color: rgb(124, 28, 147);
/* oklch */ color: oklch(44.1% 0.189 318.7);
Tailwind
colors: {
  custom: {
    50: '#a665b3',
    500: '#7c1c93',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c93;
$custom-light: #a665b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c93",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 288.403,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44139,
    "c": 0.18879,
    "h": 318.7
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#7C1C93
secondary
#62BF4C
accent
#EB3D5F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1C93

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

Preview Lab → · Contrast checker → · Palette generator →

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