#7A2E73#7A2E73

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

Color values

HEX#7A2E73
RGBrgb(122, 46, 115)
HSLhsl(306, 45%, 33%)
HSVhsv(306, 62%, 48%)
CMYKcmyk(0%, 62.3%, 5.7%, 52.2%)
CIE-LABlab(32.55, 42.26, -23.98)
CIE-LCHlch(32.55, 48.59, 330.43°)
OKLaboklab(43.62% 0.1205 -0.0657)
OKLCHoklch(43.62% 0.137 331.4)
XYZxyz(12.0975, 7.3302, 16.9940)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2E73 #2E7A35
analogous
#5B2E7A #7A2E73 #7A2E4D
triadic
#7A2E73 #737A2E #2E737A
tetradic
#7A2E73 #7A5B2E #2E7A35 #2E4D7A
square
#7A2E73 #7A5B2E #2E7A35 #2E4D7A
split-complementary
#7A2E73 #4D7A2E #2E7A5B
monochromatic
#210C1F #4E1D49 #7A2E73 #A63F9D #C360BA

Accessibility & contrast

On white

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

On black

2.47
#7A2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A2E73#FFFFFF#000000##FFFFFF
##7A2E731.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#435071
Tritanopia (blue-blind)
#7F354C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2e73;
/* rgb */ color: rgb(122, 46, 115);
/* oklch */ color: oklch(43.6% 0.137 331.4);
Tailwind
colors: {
  custom: {
    50: '#a36c9b',
    500: '#7a2e73',
    950: '#000000',
  },
}
SCSS
$custom: #7a2e73;
$custom-light: #a36c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2e73",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 305.526,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43624,
    "c": 0.13722,
    "h": 331.4
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#7A2E73
secondary
#5AAA62
accent
#D55F53
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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