#7A2292#7A2292

#7A2292 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.181 H 317.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7A2292
RGBrgb(122, 34, 146)
HSLhsl(287, 62%, 35%)
HSVhsv(287, 77%, 57%)
CMYKcmyk(16.4%, 76.7%, 0%, 42.7%)
CIE-LABlab(32.61, 53.19, -43.20)
CIE-LCHlch(32.61, 68.52, 320.92°)
OKLaboklab(44.26% 0.1343 -0.1215)
OKLCHoklch(44.26% 0.181 317.9)
XYZxyz(13.7856, 7.3576, 27.8826)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2292 #3A9222
analogous
#422292 #7A2292 #922272
triadic
#7A2292 #927A22 #22927A
tetradic
#7A2292 #924222 #3A9222 #227292
square
#7A2292 #924222 #3A9222 #227292
split-complementary
#7A2292 #729222 #229242
monochromatic
#270B2F #511660 #7A2292 #A32EC4 #BC57D8

Accessibility & contrast

On white

8.50
#7A2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2292
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2292#FFFFFF#000000##FFFFFF
##7A22921.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#264F90
Tritanopia (blue-blind)
#793A59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2292;
/* rgb */ color: rgb(122, 34, 146);
/* oklch */ color: oklch(44.3% 0.181 317.9);
Tailwind
colors: {
  custom: {
    50: '#a467b3',
    500: '#7a2292',
    950: '#000000',
  },
}
SCSS
$custom: #7a2292;
$custom-light: #a467b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2292",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 287.143,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44263,
    "c": 0.18111,
    "h": 317.9
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#7A2292
secondary
#6ABC54
accent
#E54365
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2292

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

Preview Lab → · Contrast checker → · Palette generator →

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