#7A2689#7A2689

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

Color values

HEX#7A2689
RGBrgb(122, 38, 137)
HSLhsl(291, 57%, 34%)
HSVhsv(291, 72%, 54%)
CMYKcmyk(10.9%, 72.3%, 0%, 46.3%)
CIE-LABlab(32.55, 49.89, -37.74)
CIE-LCHlch(32.55, 62.56, 322.89°)
OKLaboklab(44.03% 0.1311 -0.1055)
OKLCHoklch(44.03% 0.168 321.2)
XYZxyz(13.2340, 7.3306, 24.3799)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2689 #358926
analogous
#492689 #7A2689 #892667
triadic
#7A2689 #897A26 #26897A
tetradic
#7A2689 #894926 #358926 #266789
square
#7A2689 #894926 #358926 #266789
split-complementary
#7A2689 #678926 #268949
monochromatic
#250B29 #4F1959 #7A2689 #A533B9 #BF59D1

Accessibility & contrast

On white

8.52
#7A2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7A2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2689
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2689#FFFFFF#000000##FFFFFF
##7A26891.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#315087
Tritanopia (blue-blind)
#7B3855
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2689;
/* rgb */ color: rgb(122, 38, 137);
/* oklch */ color: oklch(44.0% 0.168 321.2);
Tailwind
colors: {
  custom: {
    50: '#a469ac',
    500: '#7a2689',
    950: '#000000',
  },
}
SCSS
$custom: #7a2689;
$custom-light: #a469ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2689",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 290.909,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44031,
    "c": 0.1683,
    "h": 321.2
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#7A2689
secondary
#64B655
accent
#E0485F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A2689

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

Preview Lab → · Contrast checker → · Palette generator →

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