#7A2288#7A2288

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

Color values

HEX#7A2288
RGBrgb(122, 34, 136)
HSLhsl(292, 60%, 33%)
HSVhsv(292, 75%, 53%)
CMYKcmyk(10.3%, 75%, 0%, 46.7%)
CIE-LABlab(31.94, 51.24, -38.09)
CIE-LCHlch(31.94, 63.85, 323.37°)
OKLaboklab(43.58% 0.1353 -0.1065)
OKLCHoklch(43.58% 0.172 321.8)
XYZxyz(13.0415, 7.0599, 23.9635)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2288 #308822
analogous
#472288 #7A2288 #882263
triadic
#7A2288 #887A22 #22887A
tetradic
#7A2288 #884722 #308822 #226388
square
#7A2288 #884722 #308822 #226388
split-complementary
#7A2288 #638822 #228847
monochromatic
#220A26 #4E1657 #7A2288 #A62EB9 #C251D3

Accessibility & contrast

On white

8.71
#7A2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7A2288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2288
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2288#FFFFFF#000000##FFFFFF
##7A22881.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#304E86
Tritanopia (blue-blind)
#7B3553
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2288;
/* rgb */ color: rgb(122, 34, 136);
/* oklch */ color: oklch(43.6% 0.172 321.8);
Tailwind
colors: {
  custom: {
    50: '#a467ab',
    500: '#7a2288',
    950: '#000000',
  },
}
SCSS
$custom: #7a2288;
$custom-light: #a467ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2288",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 291.765,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43579,
    "c": 0.1722,
    "h": 321.8
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#7A2288
secondary
#5DB74F
accent
#E3455A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2288

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

Preview Lab → · Contrast checker → · Palette generator →

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