#7C1F89#7C1F89

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

Color values

HEX#7C1F89
RGBrgb(124, 31, 137)
HSLhsl(293, 63%, 33%)
HSVhsv(293, 77%, 54%)
CMYKcmyk(9.5%, 77.4%, 0%, 46.3%)
CIE-LABlab(31.97, 52.92, -38.65)
CIE-LCHlch(31.97, 65.53, 323.86°)
OKLaboklab(43.68% 0.1405 -0.1081)
OKLCHoklch(43.68% 0.177 322.4)
XYZxyz(13.3171, 7.0720, 24.3256)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F89 #2C891F
analogous
#471F89 #7C1F89 #891F61
triadic
#7C1F89 #897C1F #1F897C
tetradic
#7C1F89 #89471F #2C891F #1F6189
square
#7C1F89 #89471F #2C891F #1F6189
split-complementary
#7C1F89 #61891F #1F8947
monochromatic
#220825 #4F1457 #7C1F89 #A92ABB #C54CD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1F89#FFFFFF#000000##FFFFFF
##7C1F891.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)
#00458C
Deuteranopia (green-blind)
#2F4F87
Tritanopia (blue-blind)
#7E3453
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1f89;
/* rgb */ color: rgb(124, 31, 137);
/* oklch */ color: oklch(43.7% 0.177 322.4);
Tailwind
colors: {
  custom: {
    50: '#a566ac',
    500: '#7c1f89',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f89;
$custom-light: #a566ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f89",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 292.642,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43684,
    "c": 0.17727,
    "h": 322.4
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#7C1F89
secondary
#58B94B
accent
#E64256
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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