#7A2589#7A2589

#7A2589 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.170 H 321.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7A2589
RGBrgb(122, 37, 137)
HSLhsl(291, 57%, 34%)
HSVhsv(291, 73%, 54%)
CMYKcmyk(10.9%, 73%, 0%, 46.3%)
CIE-LABlab(32.41, 50.29, -37.97)
CIE-LCHlch(32.41, 63.01, 322.95°)
OKLaboklab(43.93% 0.1322 -0.1062)
OKLCHoklch(43.93% 0.17 321.2)
XYZxyz(13.2025, 7.2676, 24.3694)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2589 #348925
analogous
#482589 #7A2589 #892566
triadic
#7A2589 #897A25 #25897A
tetradic
#7A2589 #894825 #348925 #256689
square
#7A2589 #894825 #348925 #256689
split-complementary
#7A2589 #668925 #258948
monochromatic
#240B29 #4F1859 #7A2589 #A532B9 #BF57D2

Accessibility & contrast

On white

8.56
#7A2589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7A2589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2589
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2589#FFFFFF#000000##FFFFFF
##7A25891.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#314F87
Tritanopia (blue-blind)
#7B3854
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2589;
/* rgb */ color: rgb(122, 37, 137);
/* oklch */ color: oklch(43.9% 0.170 321.2);
Tailwind
colors: {
  custom: {
    50: '#a468ac',
    500: '#7a2589',
    950: '#000000',
  },
}
SCSS
$custom: #7a2589;
$custom-light: #a468ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2589",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 291,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.16954,
    "h": 321.2
  },
  "luminance": 0.07267
}

Semantic roles & 50–950 ramp

primary
#7A2589
secondary
#63B654
accent
#E1475E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A2589

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

Preview Lab → · Contrast checker → · Palette generator →

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