#7A2E77#7A2E77

#7A2E77 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.141 H 329.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7A2E77
RGBrgb(122, 46, 119)
HSLhsl(302, 45%, 33%)
HSVhsv(302, 62%, 48%)
CMYKcmyk(0%, 62.3%, 2.5%, 52.2%)
CIE-LABlab(32.75, 42.98, -26.18)
CIE-LCHlch(32.75, 50.33, 328.66°)
OKLaboklab(43.84% 0.121 -0.072)
OKLCHoklch(43.84% 0.141 329.2)
XYZxyz(12.3327, 7.4243, 18.2326)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2E77 #2E7A31
analogous
#572E7A #7A2E77 #7A2E51
triadic
#7A2E77 #777A2E #2E777A
tetradic
#7A2E77 #7A572E #2E7A31 #2E517A
square
#7A2E77 #7A572E #2E7A31 #2E517A
split-complementary
#7A2E77 #517A2E #2E7A57
monochromatic
#210C20 #4E1D4C #7A2E77 #A63FA2 #C360BF

Accessibility & contrast

On white

8.45
#7A2E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7A2E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2E77
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2E77#FFFFFF#000000##FFFFFF
##7A2E771.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274679
Deuteranopia (green-blind)
#415175
Tritanopia (blue-blind)
#7E364E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2e77;
/* rgb */ color: rgb(122, 46, 119);
/* oklch */ color: oklch(43.8% 0.141 329.2);
Tailwind
colors: {
  custom: {
    50: '#a36c9e',
    500: '#7a2e77',
    950: '#000000',
  },
}
SCSS
$custom: #7a2e77;
$custom-light: #a36c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2e77",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 302.368,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43843,
    "c": 0.14076,
    "h": 329.2
  },
  "luminance": 0.07423
}

Semantic roles & 50–950 ramp

primary
#7A2E77
secondary
#5AAA5D
accent
#D55853
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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