#7A2391#7A2391

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

Color values

HEX#7A2391
RGBrgb(122, 35, 145)
HSLhsl(287, 61%, 35%)
HSVhsv(287, 76%, 57%)
CMYKcmyk(15.9%, 75.9%, 0%, 43.1%)
CIE-LABlab(32.67, 52.62, -42.49)
CIE-LCHlch(32.67, 67.64, 321.08°)
OKLaboklab(44.28% 0.1335 -0.1194)
OKLCHoklch(44.28% 0.179 318.2)
XYZxyz(13.7372, 7.3846, 27.4843)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2391 #3A9123
analogous
#432391 #7A2391 #912371
triadic
#7A2391 #917A23 #23917A
tetradic
#7A2391 #914323 #3A9123 #237191
square
#7A2391 #914323 #3A9123 #237191
split-complementary
#7A2391 #719123 #239143
monochromatic
#270B2E #511760 #7A2391 #A32FC2 #BC58D7

Accessibility & contrast

On white

8.48
#7A2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7A2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2391
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2391#FFFFFF#000000##FFFFFF
##7A23911.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#28508F
Tritanopia (blue-blind)
#793A58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2391;
/* rgb */ color: rgb(122, 35, 145);
/* oklch */ color: oklch(44.3% 0.179 318.2);
Tailwind
colors: {
  custom: {
    50: '#a468b2',
    500: '#7a2391',
    950: '#000000',
  },
}
SCSS
$custom: #7a2391;
$custom-light: #a468b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2391",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 287.455,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44283,
    "c": 0.17911,
    "h": 318.2
  },
  "luminance": 0.07384
}

Semantic roles & 50–950 ramp

primary
#7A2391
secondary
#6ABB55
accent
#E44465
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2391

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

Preview Lab → · Contrast checker → · Palette generator →

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