#7C2392#7C2392

#7C2392 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.181 H 318.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7C2392
RGBrgb(124, 35, 146)
HSLhsl(288, 61%, 35%)
HSVhsv(288, 76%, 57%)
CMYKcmyk(15.1%, 76%, 0%, 42.7%)
CIE-LABlab(33.06, 53.24, -42.46)
CIE-LCHlch(33.06, 68.10, 321.43°)
OKLaboklab(44.65% 0.1359 -0.1192)
OKLCHoklch(44.65% 0.181 318.7)
XYZxyz(14.1008, 7.5631, 27.9056)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2392 #399223
analogous
#442392 #7C2392 #922370
triadic
#7C2392 #927C23 #23927C
tetradic
#7C2392 #924423 #399223 #237092
square
#7C2392 #924423 #399223 #237092
split-complementary
#7C2392 #709223 #239244
monochromatic
#280B2F #521761 #7C2392 #A62FC3 #BE58D7

Accessibility & contrast

On white

8.36
#7C2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2392
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2392#FFFFFF#000000##FFFFFF
##7C23921.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#2A5190
Tritanopia (blue-blind)
#7C3A59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2392;
/* rgb */ color: rgb(124, 35, 146);
/* oklch */ color: oklch(44.6% 0.181 318.7);
Tailwind
colors: {
  custom: {
    50: '#a668b3',
    500: '#7c2392',
    950: '#000000',
  },
}
SCSS
$custom: #7c2392;
$custom-light: #a668b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2392",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 288.108,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44645,
    "c": 0.1808,
    "h": 318.7
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#7C2392
secondary
#6ABB55
accent
#E44363
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2392

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

Preview Lab → · Contrast checker → · Palette generator →

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