#7C1F94#7C1F94

#7C1F94 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.187 H 318.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7C1F94
RGBrgb(124, 31, 148)
HSLhsl(288, 65%, 35%)
HSVhsv(288, 79%, 58%)
CMYKcmyk(16.2%, 79.1%, 0%, 42%)
CIE-LABlab(32.71, 55.02, -44.25)
CIE-LCHlch(32.71, 70.61, 321.20°)
OKLaboklab(44.44% 0.1393 -0.1245)
OKLCHoklch(44.44% 0.187 318.2)
XYZxyz(14.1467, 7.4038, 28.6951)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F94 #37941F
analogous
#411F94 #7C1F94 #941F72
triadic
#7C1F94 #947C1F #1F947C
tetradic
#7C1F94 #94411F #37941F #1F7294
square
#7C1F94 #94411F #37941F #1F7294
split-complementary
#7C1F94 #72941F #1F9441
monochromatic
#270A2F #521461 #7C1F94 #A62AC7 #BF53DB

Accessibility & contrast

On white

8.47
#7C1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7C1F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1F94
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F94#FFFFFF#000000##FFFFFF
##7C1F941.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#255091
Tritanopia (blue-blind)
#7B3959
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c1f94;
/* rgb */ color: rgb(124, 31, 148);
/* oklch */ color: oklch(44.4% 0.187 318.2);
Tailwind
colors: {
  custom: {
    50: '#a666b4',
    500: '#7c1f94',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f94;
$custom-light: #a666b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f94",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 287.692,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44443,
    "c": 0.18678,
    "h": 318.2
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#7C1F94
secondary
#67BE51
accent
#E83F62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1F94

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

Preview Lab → · Contrast checker → · Palette generator →

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