#7A298E#7A298E

#7A298E is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.169 H 319.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7A298E
RGBrgb(122, 41, 142)
HSLhsl(288, 55%, 36%)
HSVhsv(288, 71%, 56%)
CMYKcmyk(14.1%, 71.1%, 0%, 44.3%)
CIE-LABlab(33.30, 49.66, -39.63)
CIE-LCHlch(33.30, 63.53, 321.41°)
OKLaboklab(44.67% 0.1276 -0.1111)
OKLCHoklch(44.67% 0.169 319)
XYZxyz(13.7008, 7.6771, 26.3461)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A298E #3D8E29
analogous
#47298E #7A298E #8E296F
triadic
#7A298E #8E7A29 #298E7A
tetradic
#7A298E #8E4729 #3D8E29 #296F8E
square
#7A298E #8E4729 #3D8E29 #296F8E
split-complementary
#7A298E #6F8E29 #298E47
monochromatic
#280E2F #511B5F #7A298E #A337BD #BB60D1

Accessibility & contrast

On white

8.28
#7A298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7A298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A298E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A298E#FFFFFF#000000##FFFFFF
##7A298E1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#7A3C58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a298e;
/* rgb */ color: rgb(122, 41, 142);
/* oklch */ color: oklch(44.7% 0.169 319.0);
Tailwind
colors: {
  custom: {
    50: '#a46ab0',
    500: '#7a298e',
    950: '#000000',
  },
}
SCSS
$custom: #7a298e;
$custom-light: #a46ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a298e",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 288.119,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44672,
    "c": 0.16914,
    "h": 319
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#7A298E
secondary
#6EB75C
accent
#DF4967
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A298E

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

Preview Lab → · Contrast checker → · Palette generator →

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