#7A2290#7A2290

#7A2290 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.179 H 318.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7A2290
RGBrgb(122, 34, 144)
HSLhsl(288, 62%, 35%)
HSVhsv(288, 76%, 56%)
CMYKcmyk(15.3%, 76.4%, 0%, 43.5%)
CIE-LABlab(32.47, 52.79, -42.19)
CIE-LCHlch(32.47, 67.58, 321.37°)
OKLaboklab(44.12% 0.1346 -0.1185)
OKLCHoklch(44.12% 0.179 318.6)
XYZxyz(13.6314, 7.2959, 27.0704)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2290 #389022
analogous
#432290 #7A2290 #90226F
triadic
#7A2290 #907A22 #22907A
tetradic
#7A2290 #904322 #389022 #226F90
square
#7A2290 #904322 #389022 #226F90
split-complementary
#7A2290 #6F9022 #229043
monochromatic
#260B2D #50165E #7A2290 #A42EC2 #BD55D7

Accessibility & contrast

On white

8.54
#7A2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7A2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2290
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2290#FFFFFF#000000##FFFFFF
##7A22901.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#284F8E
Tritanopia (blue-blind)
#7A3958
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2290;
/* rgb */ color: rgb(122, 34, 144);
/* oklch */ color: oklch(44.1% 0.179 318.6);
Tailwind
colors: {
  custom: {
    50: '#a467b1',
    500: '#7a2290',
    950: '#000000',
  },
}
SCSS
$custom: #7a2290;
$custom-light: #a467b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2290",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 288,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44123,
    "c": 0.17931,
    "h": 318.6
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

primary
#7A2290
secondary
#68BB53
accent
#E54363
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2290

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

Preview Lab → · Contrast checker → · Palette generator →

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