#7A2592#7A2592

#7A2592 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.178 H 317.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7A2592
RGBrgb(122, 37, 146)
HSLhsl(287, 60%, 36%)
HSVhsv(287, 75%, 57%)
CMYKcmyk(16.4%, 74.7%, 0%, 42.7%)
CIE-LABlab(33.00, 52.07, -42.57)
CIE-LCHlch(33.00, 67.26, 320.73°)
OKLaboklab(44.54% 0.1314 -0.1196)
OKLCHoklch(44.54% 0.178 317.7)
XYZxyz(13.8752, 7.5366, 27.9124)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2592 #3D9225
analogous
#432592 #7A2592 #922573
triadic
#7A2592 #927A25 #25927A
tetradic
#7A2592 #924325 #3D9225 #257392
square
#7A2592 #924325 #3D9225 #257392
split-complementary
#7A2592 #739225 #259243
monochromatic
#280C30 #511961 #7A2592 #A331C3 #BB5CD6

Accessibility & contrast

On white

8.38
#7A2592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7A2592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2592
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2592#FFFFFF#000000##FFFFFF
##7A25921.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#295090
Tritanopia (blue-blind)
#793B59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2592;
/* rgb */ color: rgb(122, 37, 146);
/* oklch */ color: oklch(44.5% 0.178 317.7);
Tailwind
colors: {
  custom: {
    50: '#a469b3',
    500: '#7a2592',
    950: '#000000',
  },
}
SCSS
$custom: #7a2592;
$custom-light: #a469b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2592",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 286.789,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4454,
    "c": 0.17774,
    "h": 317.7
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#7A2592
secondary
#6EBA58
accent
#E34568
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2592

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

Preview Lab → · Contrast checker → · Palette generator →

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