#7A2B7C#7A2B7C

#7A2B7C is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.150 H 326.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7A2B7C
RGBrgb(122, 43, 124)
HSLhsl(299, 49%, 33%)
HSVhsv(299, 65%, 49%)
CMYKcmyk(1.6%, 65.3%, 0%, 51.4%)
CIE-LABlab(32.53, 45.29, -29.68)
CIE-LCHlch(32.53, 54.14, 326.76°)
OKLaboklab(43.77% 0.1253 -0.0821)
OKLCHoklch(43.77% 0.15 326.8)
XYZxyz(12.5278, 7.3214, 19.8182)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B7C #2D7C2B
analogous
#522B7C #7A2B7C #7C2B55
triadic
#7A2B7C #7C7A2B #2B7C7A
tetradic
#7A2B7C #7C522B #2D7C2B #2B557C
square
#7A2B7C #7C522B #2D7C2B #2B557C
split-complementary
#7A2B7C #557C2B #2B7C52
monochromatic
#210B21 #4D1B4F #7A2B7C #A73BA9 #C45BC6

Accessibility & contrast

On white

8.52
#7A2B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2B7C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2B7C#FFFFFF#000000##FFFFFF
##7A2B7C1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#3D507A
Tritanopia (blue-blind)
#7D364F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2b7c;
/* rgb */ color: rgb(122, 43, 124);
/* oklch */ color: oklch(43.8% 0.150 326.8);
Tailwind
colors: {
  custom: {
    50: '#a36ba2',
    500: '#7a2b7c',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b7c;
$custom-light: #a36ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b7c",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 298.519,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43766,
    "c": 0.14975,
    "h": 326.8
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#7A2B7C
secondary
#59AC57
accent
#D85053
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7A2B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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