#7A2F79#7A2F79

#7A2F79 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.1% C 0.141 H 328.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7A2F79
RGBrgb(122, 47, 121)
HSLhsl(301, 44%, 33%)
HSVhsv(301, 61%, 48%)
CMYKcmyk(0%, 61.5%, 0.8%, 52.2%)
CIE-LABlab(33.03, 42.88, -27.00)
CIE-LCHlch(33.03, 50.67, 327.81°)
OKLaboklab(44.08% 0.1198 -0.0744)
OKLCHoklch(44.08% 0.141 328.2)
XYZxyz(12.4936, 7.5519, 18.8851)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F79 #2F7A30
analogous
#552F7A #7A2F79 #7A2F53
triadic
#7A2F79 #797A2F #2F797A
tetradic
#7A2F79 #7A552F #2F7A30 #2F537A
square
#7A2F79 #7A552F #2F7A30 #2F537A
split-complementary
#7A2F79 #537A2F #2F7A55
monochromatic
#220D21 #4E1E4D #7A2F79 #A640A5 #C261C1

Accessibility & contrast

On white

8.37
#7A2F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7A2F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2F79
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F79#FFFFFF#000000##FFFFFF
##7A2F791.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477B
Deuteranopia (green-blind)
#415177
Tritanopia (blue-blind)
#7E384F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2f79;
/* rgb */ color: rgb(122, 47, 121);
/* oklch */ color: oklch(44.1% 0.141 328.2);
Tailwind
colors: {
  custom: {
    50: '#a36da0',
    500: '#7a2f79',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f79;
$custom-light: #a36da0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f79",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 300.8,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44079,
    "c": 0.14103,
    "h": 328.2
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#7A2F79
secondary
#5CA95D
accent
#D45554
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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