#7A2389#7A2389

#7A2389 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.172 H 321.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7A2389
RGBrgb(122, 35, 137)
HSLhsl(291, 59%, 34%)
HSVhsv(291, 74%, 54%)
CMYKcmyk(10.9%, 74.5%, 0%, 46.3%)
CIE-LABlab(32.14, 51.06, -38.40)
CIE-LCHlch(32.14, 63.89, 323.05°)
OKLaboklab(43.74% 0.1342 -0.1074)
OKLCHoklch(43.74% 0.172 321.3)
XYZxyz(13.1419, 7.1465, 24.3492)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2389 #328923
analogous
#472389 #7A2389 #892365
triadic
#7A2389 #897A23 #23897A
tetradic
#7A2389 #894723 #328923 #236589
square
#7A2389 #894723 #328923 #236589
split-complementary
#7A2389 #658923 #238947
monochromatic
#230A28 #4F1758 #7A2389 #A52FBA #C053D3

Accessibility & contrast

On white

8.64
#7A2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7A2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2389
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2389#FFFFFF#000000##FFFFFF
##7A23891.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#2F4F87
Tritanopia (blue-blind)
#7B3654
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2389;
/* rgb */ color: rgb(122, 35, 137);
/* oklch */ color: oklch(43.7% 0.172 321.3);
Tailwind
colors: {
  custom: {
    50: '#a467ac',
    500: '#7a2389',
    950: '#000000',
  },
}
SCSS
$custom: #7a2389;
$custom-light: #a467ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2389",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 291.176,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43738,
    "c": 0.17193,
    "h": 321.3
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#7A2389
secondary
#60B751
accent
#E2455C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2389

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

Preview Lab → · Contrast checker → · Palette generator →

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