#7C2589#7C2589

#7C2589 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.170 H 322.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7C2589
RGBrgb(124, 37, 137)
HSLhsl(292, 57%, 34%)
HSVhsv(292, 73%, 54%)
CMYKcmyk(9.5%, 73%, 0%, 46.3%)
CIE-LABlab(32.73, 50.74, -37.43)
CIE-LCHlch(32.73, 63.05, 323.59°)
OKLaboklab(44.23% 0.1346 -0.1045)
OKLCHoklch(44.23% 0.17 322.2)
XYZxyz(13.4886, 7.4151, 24.3828)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2589 #328925
analogous
#4A2589 #7C2589 #892564
triadic
#7C2589 #897C25 #25897C
tetradic
#7C2589 #894A25 #328925 #256489
square
#7C2589 #894A25 #328925 #256489
split-complementary
#7C2589 #648925 #25894A
monochromatic
#250B29 #501859 #7C2589 #A832B9 #C257D2

Accessibility & contrast

On white

8.46
#7C2589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2589
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2589#FFFFFF#000000##FFFFFF
##7C25891.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#335087
Tritanopia (blue-blind)
#7E3755
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c2589;
/* rgb */ color: rgb(124, 37, 137);
/* oklch */ color: oklch(44.2% 0.170 322.2);
Tailwind
colors: {
  custom: {
    50: '#a568ac',
    500: '#7c2589',
    950: '#000000',
  },
}
SCSS
$custom: #7c2589;
$custom-light: #a568ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2589",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 292.2,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.17045,
    "h": 322.2
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#7C2589
secondary
#61B654
accent
#E1475B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2589

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

Preview Lab → · Contrast checker → · Palette generator →

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