#7A2289#7A2289

#7A2289 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.173 H 321.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7A2289
RGBrgb(122, 34, 137)
HSLhsl(291, 60%, 34%)
HSVhsv(291, 75%, 54%)
CMYKcmyk(10.9%, 75.2%, 0%, 46.3%)
CIE-LABlab(32.01, 51.43, -38.61)
CIE-LCHlch(32.01, 64.31, 323.10°)
OKLaboklab(43.65% 0.1352 -0.108)
OKLCHoklch(43.65% 0.173 321.4)
XYZxyz(13.1129, 7.0885, 24.3396)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2289 #318922
analogous
#462289 #7A2289 #892264
triadic
#7A2289 #897A22 #22897A
tetradic
#7A2289 #894622 #318922 #226489
square
#7A2289 #894622 #318922 #226489
split-complementary
#7A2289 #648922 #228946
monochromatic
#230A27 #4E1658 #7A2289 #A62EBA #C151D4

Accessibility & contrast

On white

8.69
#7A2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7A2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2289
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2289#FFFFFF#000000##FFFFFF
##7A22891.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a2289;
/* rgb */ color: rgb(122, 34, 137);
/* oklch */ color: oklch(43.6% 0.173 321.4);
Tailwind
colors: {
  custom: {
    50: '#a467ac',
    500: '#7a2289',
    950: '#000000',
  },
}
SCSS
$custom: #7a2289;
$custom-light: #a467ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2289",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 291.262,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43645,
    "c": 0.17308,
    "h": 321.4
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#7A2289
secondary
#5EB84F
accent
#E3445C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2289

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

Preview Lab → · Contrast checker → · Palette generator →

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