#7C2389#7C2389

#7C2389 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.173 H 322.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7C2389
RGBrgb(124, 35, 137)
HSLhsl(292, 59%, 34%)
HSVhsv(292, 74%, 54%)
CMYKcmyk(9.5%, 74.5%, 0%, 46.3%)
CIE-LABlab(32.47, 51.50, -37.85)
CIE-LCHlch(32.47, 63.92, 323.68°)
OKLaboklab(44.04% 0.1367 -0.1058)
OKLCHoklch(44.04% 0.173 322.3)
XYZxyz(13.4281, 7.2941, 24.3627)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2389 #308923
analogous
#492389 #7C2389 #892363
triadic
#7C2389 #897C23 #23897C
tetradic
#7C2389 #894923 #308923 #236389
square
#7C2389 #894923 #308923 #236389
split-complementary
#7C2389 #638923 #238949
monochromatic
#240A28 #501758 #7C2389 #A82FBA #C353D3

Accessibility & contrast

On white

8.54
#7C2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7C2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2389
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2389#FFFFFF#000000##FFFFFF
##7C23891.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#7E3654
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c2389;
/* rgb */ color: rgb(124, 35, 137);
/* oklch */ color: oklch(44.0% 0.173 322.3);
Tailwind
colors: {
  custom: {
    50: '#a567ac',
    500: '#7c2389',
    950: '#000000',
  },
}
SCSS
$custom: #7c2389;
$custom-light: #a567ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2389",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 292.353,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44038,
    "c": 0.17283,
    "h": 322.3
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#7C2389
secondary
#5EB751
accent
#E24559
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2389

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

Preview Lab → · Contrast checker → · Palette generator →

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