#7E2590#7E2590

#7E2590 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.178 H 320.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7E2590
RGBrgb(126, 37, 144)
HSLhsl(290, 59%, 35%)
HSVhsv(290, 74%, 56%)
CMYKcmyk(12.5%, 74.3%, 0%, 43.5%)
CIE-LABlab(33.51, 52.54, -40.49)
CIE-LCHlch(33.51, 66.33, 322.38°)
OKLaboklab(44.99% 0.1366 -0.1134)
OKLCHoklch(44.99% 0.178 320.3)
XYZxyz(14.2992, 7.7731, 27.1273)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2590 #379025
analogous
#492590 #7E2590 #90256C
triadic
#7E2590 #907E25 #25907E
tetradic
#7E2590 #904925 #379025 #256C90
square
#7E2590 #904925 #379025 #256C90
split-complementary
#7E2590 #6C9025 #259049
monochromatic
#290C2F #53185F #7E2590 #A932C1 #C05BD5

Accessibility & contrast

On white

8.22
#7E2590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2590
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2590#FFFFFF#000000##FFFFFF
##7E25901.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#2F528E
Tritanopia (blue-blind)
#7F3A58
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7e2590;
/* rgb */ color: rgb(126, 37, 144);
/* oklch */ color: oklch(45.0% 0.178 320.3);
Tailwind
colors: {
  custom: {
    50: '#a769b1',
    500: '#7e2590',
    950: '#000000',
  },
}
SCSS
$custom: #7e2590;
$custom-light: #a769b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2590",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 289.907,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44987,
    "c": 0.17758,
    "h": 320.3
  },
  "luminance": 0.07772
}

Semantic roles & 50–950 ramp

primary
#7E2590
secondary
#68B957
accent
#E24560
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2590

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

Preview Lab → · Contrast checker → · Palette generator →

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