#7D2590#7D2590

#7D2590 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.177 H 319.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7D2590
RGBrgb(125, 37, 144)
HSLhsl(289, 59%, 35%)
HSVhsv(289, 74%, 56%)
CMYKcmyk(13.2%, 74.3%, 0%, 43.5%)
CIE-LABlab(33.34, 52.32, -40.76)
CIE-LCHlch(33.34, 66.32, 322.08°)
OKLaboklab(44.84% 0.1354 -0.1143)
OKLCHoklch(44.84% 0.177 319.8)
XYZxyz(14.1524, 7.6974, 27.1204)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2590 #389025
analogous
#472590 #7D2590 #90256D
triadic
#7D2590 #907D25 #25907D
tetradic
#7D2590 #904725 #389025 #256D90
square
#7D2590 #904725 #389025 #256D90
split-complementary
#7D2590 #6D9025 #259047
monochromatic
#280C2F #53185F #7D2590 #A732C1 #BF5BD5

Accessibility & contrast

On white

8.27
#7D2590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7D2590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2590
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2590#FFFFFF#000000##FFFFFF
##7D25901.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#2E518E
Tritanopia (blue-blind)
#7D3A58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2590;
/* rgb */ color: rgb(125, 37, 144);
/* oklch */ color: oklch(44.8% 0.177 319.8);
Tailwind
colors: {
  custom: {
    50: '#a669b1',
    500: '#7d2590',
    950: '#000000',
  },
}
SCSS
$custom: #7d2590;
$custom-light: #a669b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2590",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 289.346,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4484,
    "c": 0.17716,
    "h": 319.8
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#7D2590
secondary
#69B957
accent
#E24561
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2590

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

Preview Lab → · Contrast checker → · Palette generator →

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