#7C1C8E#7C1C8E

#7C1C8E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.185 H 320.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7C1C8E
RGBrgb(124, 28, 142)
HSLhsl(291, 67%, 33%)
HSVhsv(291, 80%, 56%)
CMYKcmyk(12.7%, 80.3%, 0%, 44.3%)
CIE-LABlab(31.96, 54.84, -41.75)
CIE-LCHlch(31.96, 68.92, 322.71°)
OKLaboklab(43.79% 0.1426 -0.1171)
OKLCHoklch(43.79% 0.185 320.6)
XYZxyz(13.6093, 7.0693, 26.2336)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C8E #2E8E1C
analogous
#431C8E #7C1C8E #8E1C67
triadic
#7C1C8E #8E7C1C #1C8E7C
tetradic
#7C1C8E #8E431C #2E8E1C #1C678E
square
#7C1C8E #8E431C #2E8E1C #1C678E
split-complementary
#7C1C8E #678E1C #1C8E43
monochromatic
#230828 #4F125B #7C1C8E #A926C1 #C449DB

Accessibility & contrast

On white

8.70
#7C1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7C1C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C8E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C8E#FFFFFF#000000##FFFFFF
##7C1C8E1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#294E8B
Tritanopia (blue-blind)
#7D3455
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1c8e;
/* rgb */ color: rgb(124, 28, 142);
/* oklch */ color: oklch(43.8% 0.185 320.6);
Tailwind
colors: {
  custom: {
    50: '#a665b0',
    500: '#7c1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c8e;
$custom-light: #a665b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c8e",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 290.526,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43786,
    "c": 0.18455,
    "h": 320.6
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#7C1C8E
secondary
#5BBD49
accent
#EA3E59
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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