#7A2A85#7A2A85

#7A2A85 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.159 H 322.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7A2A85
RGBrgb(122, 42, 133)
HSLhsl(293, 52%, 34%)
HSVhsv(293, 68%, 52%)
CMYKcmyk(8.3%, 68.4%, 0%, 47.8%)
CIE-LABlab(32.89, 47.45, -34.71)
CIE-LCHlch(32.89, 58.79, 323.81°)
OKLaboklab(44.2% 0.1267 -0.0967)
OKLCHoklch(44.2% 0.159 322.6)
XYZxyz(13.0872, 7.4877, 22.9417)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A85 #35852A
analogous
#4D2A85 #7A2A85 #852A63
triadic
#7A2A85 #857A2A #2A857A
tetradic
#7A2A85 #854D2A #35852A #2A6385
square
#7A2A85 #854D2A #35852A #2A6385
split-complementary
#7A2A85 #63852A #2A854D
monochromatic
#250D28 #4F1B56 #7A2A85 #A539B4 #BF5DCC

Accessibility & contrast

On white

8.41
#7A2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2A85
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A85#FFFFFF#000000##FFFFFF
##7A2A851.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124788
Deuteranopia (green-blind)
#375083
Tritanopia (blue-blind)
#7C3954
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2a85;
/* rgb */ color: rgb(122, 42, 133);
/* oklch */ color: oklch(44.2% 0.159 322.6);
Tailwind
colors: {
  custom: {
    50: '#a36aa9',
    500: '#7a2a85',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a85;
$custom-light: #a36aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a85",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 292.747,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44199,
    "c": 0.15941,
    "h": 322.6
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#7A2A85
secondary
#64B259
accent
#DB4C5E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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