#7D2589#7D2589

#7D2589 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.171 H 322.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7D2589
RGBrgb(125, 37, 137)
HSLhsl(293, 57%, 34%)
HSVhsv(293, 73%, 54%)
CMYKcmyk(8.8%, 73%, 0%, 46.3%)
CIE-LABlab(32.90, 50.97, -37.16)
CIE-LCHlch(32.90, 63.08, 323.91°)
OKLaboklab(44.38% 0.1358 -0.1037)
OKLCHoklch(44.38% 0.171 322.6)
XYZxyz(13.6339, 7.4900, 24.3896)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2589 #318925
analogous
#4B2589 #7D2589 #892563
triadic
#7D2589 #897D25 #25897D
tetradic
#7D2589 #894B25 #318925 #256389
square
#7D2589 #894B25 #318925 #256389
split-complementary
#7D2589 #638925 #25894B
monochromatic
#250B29 #511859 #7D2589 #A932B9 #C357D2

Accessibility & contrast

On white

8.41
#7D2589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D2589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2589
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2589#FFFFFF#000000##FFFFFF
##7D25891.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2589;
/* rgb */ color: rgb(125, 37, 137);
/* oklch */ color: oklch(44.4% 0.171 322.6);
Tailwind
colors: {
  custom: {
    50: '#a669ac',
    500: '#7d2589',
    950: '#000000',
  },
}
SCSS
$custom: #7d2589;
$custom-light: #a669ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2589",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 292.8,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44378,
    "c": 0.17091,
    "h": 322.6
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#7D2589
secondary
#60B654
accent
#E1475A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2589

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

Preview Lab → · Contrast checker → · Palette generator →

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