#7C1C95#7C1C95

#7C1C95 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.191 H 318.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7C1C95
RGBrgb(124, 28, 149)
HSLhsl(288, 68%, 35%)
HSVhsv(288, 81%, 58%)
CMYKcmyk(16.8%, 81.2%, 0%, 41.6%)
CIE-LABlab(32.45, 56.17, -45.28)
CIE-LCHlch(32.45, 72.15, 321.13°)
OKLaboklab(44.28% 0.1416 -0.1275)
OKLCHoklch(44.28% 0.191 318)
XYZxyz(14.1515, 7.2862, 29.0889)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C95 #35951C
analogous
#3F1C95 #7C1C95 #951C72
triadic
#7C1C95 #957C1C #1C957C
tetradic
#7C1C95 #953F1C #35951C #1C7295
square
#7C1C95 #953F1C #35951C #1C7295
split-complementary
#7C1C95 #72951C #1C953F
monochromatic
#26092E #511261 #7C1C95 #A726C9 #C04EDE

Accessibility & contrast

On white

8.55
#7C1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7C1C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C95
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C95#FFFFFF#000000##FFFFFF
##7C1C951.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#214F92
Tritanopia (blue-blind)
#7B3859
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c1c95;
/* rgb */ color: rgb(124, 28, 149);
/* oklch */ color: oklch(44.3% 0.191 318.0);
Tailwind
colors: {
  custom: {
    50: '#a665b5',
    500: '#7c1c95',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c95;
$custom-light: #a665b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c95",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 287.603,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44283,
    "c": 0.1905,
    "h": 318
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#7C1C95
secondary
#65C04D
accent
#EB3D61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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