#7C2391#7C2391

#7C2391 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.180 H 319.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7C2391
RGBrgb(124, 35, 145)
HSLhsl(289, 61%, 35%)
HSVhsv(289, 76%, 57%)
CMYKcmyk(14.5%, 75.9%, 0%, 43.1%)
CIE-LABlab(32.99, 53.05, -41.95)
CIE-LCHlch(32.99, 67.63, 321.66°)
OKLaboklab(44.58% 0.136 -0.1178)
OKLCHoklch(44.58% 0.18 319.1)
XYZxyz(14.0234, 7.5322, 27.4978)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2391 #389123
analogous
#452391 #7C2391 #91236F
triadic
#7C2391 #917C23 #23917C
tetradic
#7C2391 #914523 #389123 #236F91
square
#7C2391 #914523 #389123 #236F91
split-complementary
#7C2391 #6F9123 #239145
monochromatic
#280B2E #521760 #7C2391 #A62FC2 #BE58D7

Accessibility & contrast

On white

8.38
#7C2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7C2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2391
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2391#FFFFFF#000000##FFFFFF
##7C23911.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#2B508F
Tritanopia (blue-blind)
#7C3A58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2391;
/* rgb */ color: rgb(124, 35, 145);
/* oklch */ color: oklch(44.6% 0.180 319.1);
Tailwind
colors: {
  custom: {
    50: '#a668b2',
    500: '#7c2391',
    950: '#000000',
  },
}
SCSS
$custom: #7c2391;
$custom-light: #a668b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2391",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 288.545,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44576,
    "c": 0.17991,
    "h": 319.1
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#7C2391
secondary
#68BB55
accent
#E44462
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2391

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

Preview Lab → · Contrast checker → · Palette generator →

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