#7D2591#7D2591

#7D2591 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.178 H 319.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7D2591
RGBrgb(125, 37, 145)
HSLhsl(289, 59%, 36%)
HSVhsv(289, 74%, 57%)
CMYKcmyk(13.8%, 74.5%, 0%, 43.1%)
CIE-LABlab(33.41, 52.52, -41.27)
CIE-LCHlch(33.41, 66.79, 321.84°)
OKLaboklab(44.91% 0.1353 -0.1157)
OKLCHoklch(44.91% 0.178 319.5)
XYZxyz(14.2292, 7.7281, 27.5247)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2591 #399125
analogous
#472591 #7D2591 #91256F
triadic
#7D2591 #917D25 #25917D
tetradic
#7D2591 #914725 #399125 #256F91
square
#7D2591 #914725 #399125 #256F91
split-complementary
#7D2591 #6F9125 #259147
monochromatic
#290C2F #531960 #7D2591 #A731C2 #BF5BD5

Accessibility & contrast

On white

8.25
#7D2591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D2591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2591
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2591#FFFFFF#000000##FFFFFF
##7D25911.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#2D518F
Tritanopia (blue-blind)
#7D3A59
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2591;
/* rgb */ color: rgb(125, 37, 145);
/* oklch */ color: oklch(44.9% 0.178 319.5);
Tailwind
colors: {
  custom: {
    50: '#a669b2',
    500: '#7d2591',
    950: '#000000',
  },
}
SCSS
$custom: #7d2591;
$custom-light: #a669b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2591",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 288.889,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44908,
    "c": 0.17806,
    "h": 319.5
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#7D2591
secondary
#6ABA58
accent
#E34562
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2591

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

Preview Lab → · Contrast checker → · Palette generator →

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