#7A2D7E#7A2D7E

#7A2D7E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.149 H 325.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7A2D7E
RGBrgb(122, 45, 126)
HSLhsl(297, 47%, 34%)
HSVhsv(297, 64%, 49%)
CMYKcmyk(3.2%, 64.3%, 0%, 50.6%)
CIE-LABlab(32.97, 44.76, -30.23)
CIE-LCHlch(32.97, 54.02, 325.96°)
OKLaboklab(44.12% 0.1228 -0.0837)
OKLCHoklch(44.12% 0.149 325.7)
XYZxyz(12.7301, 7.5215, 20.5159)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D7E #317E2D
analogous
#512D7E #7A2D7E #7E2D59
triadic
#7A2D7E #7E7A2D #2D7E7A
tetradic
#7A2D7E #7E512D #317E2D #2D597E
square
#7A2D7E #7E512D #317E2D #2D597E
split-complementary
#7A2D7E #597E2D #2D7E51
monochromatic
#230D24 #4E1D51 #7A2D7E #A63DAB #C15FC6

Accessibility & contrast

On white

8.39
#7A2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7A2D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2D7E
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D7E#FFFFFF#000000##FFFFFF
##7A2D7E1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204780
Deuteranopia (green-blind)
#3D517C
Tritanopia (blue-blind)
#7D3851
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2d7e;
/* rgb */ color: rgb(122, 45, 126);
/* oklch */ color: oklch(44.1% 0.149 325.7);
Tailwind
colors: {
  custom: {
    50: '#a36ca4',
    500: '#7a2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d7e;
$custom-light: #a36ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d7e",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 297.037,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4412,
    "c": 0.14866,
    "h": 325.7
  },
  "luminance": 0.07521
}

Semantic roles & 50–950 ramp

primary
#7A2D7E
secondary
#5EAC5A
accent
#D75157
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7A2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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