#7A2489#7A2489

#7A2489 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.171 H 321.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7A2489
RGBrgb(122, 36, 137)
HSLhsl(291, 58%, 34%)
HSVhsv(291, 74%, 54%)
CMYKcmyk(10.9%, 73.7%, 0%, 46.3%)
CIE-LABlab(32.27, 50.68, -38.19)
CIE-LCHlch(32.27, 63.45, 323.00°)
OKLaboklab(43.83% 0.1332 -0.1068)
OKLCHoklch(43.83% 0.171 321.3)
XYZxyz(13.1718, 7.2062, 24.3592)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2489 #338924
analogous
#482489 #7A2489 #892466
triadic
#7A2489 #897A24 #24897A
tetradic
#7A2489 #894824 #338924 #246689
square
#7A2489 #894824 #338924 #246689
split-complementary
#7A2489 #668924 #248948
monochromatic
#240B28 #4F1759 #7A2489 #A531B9 #C055D2

Accessibility & contrast

On white

8.60
#7A2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7A2489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2489
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2489#FFFFFF#000000##FFFFFF
##7A24891.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a2489;
/* rgb */ color: rgb(122, 36, 137);
/* oklch */ color: oklch(43.8% 0.171 321.3);
Tailwind
colors: {
  custom: {
    50: '#a468ac',
    500: '#7a2489',
    950: '#000000',
  },
}
SCSS
$custom: #7a2489;
$custom-light: #a468ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2489",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 291.089,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43834,
    "c": 0.17074,
    "h": 321.3
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#7A2489
secondary
#61B752
accent
#E2465D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A2489

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

Preview Lab → · Contrast checker → · Palette generator →

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