#7C1F88#7C1F88

#7C1F88 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.176 H 322.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7C1F88
RGBrgb(124, 31, 136)
HSLhsl(293, 63%, 33%)
HSVhsv(293, 77%, 53%)
CMYKcmyk(8.8%, 77.2%, 0%, 46.7%)
CIE-LABlab(31.91, 52.74, -38.13)
CIE-LCHlch(31.91, 65.08, 324.13°)
OKLaboklab(43.62% 0.1406 -0.1066)
OKLCHoklch(43.62% 0.176 322.8)
XYZxyz(13.2457, 7.0434, 23.9496)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F88 #2B881F
analogous
#481F88 #7C1F88 #881F5F
triadic
#7C1F88 #887C1F #1F887C
tetradic
#7C1F88 #88481F #2B881F #1F5F88
square
#7C1F88 #88481F #2B881F #1F5F88
split-complementary
#7C1F88 #5F881F #1F8848
monochromatic
#210824 #4F1456 #7C1F88 #A92ABA #C64BD6

Accessibility & contrast

On white

8.72
#7C1F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1F88
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F88#FFFFFF#000000##FFFFFF
##7C1F881.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#7E3352
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1f88;
/* rgb */ color: rgb(124, 31, 136);
/* oklch */ color: oklch(43.6% 0.176 322.8);
Tailwind
colors: {
  custom: {
    50: '#a566ab',
    500: '#7c1f88',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f88;
$custom-light: #a566ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f88",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 293.143,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43618,
    "c": 0.17642,
    "h": 322.8
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#7C1F88
secondary
#57B94A
accent
#E64255
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1F88

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

Preview Lab → · Contrast checker → · Palette generator →

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