#7A2F73#7A2F73

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

Color values

HEX#7A2F73
RGBrgb(122, 47, 115)
HSLhsl(306, 44%, 33%)
HSVhsv(306, 61%, 48%)
CMYKcmyk(0%, 61.5%, 5.7%, 52.2%)
CIE-LABlab(32.72, 41.78, -23.71)
CIE-LCHlch(32.72, 48.04, 330.43°)
OKLaboklab(43.75% 0.1191 -0.0649)
OKLCHoklch(43.75% 0.136 331.4)
XYZxyz(12.1370, 7.4093, 17.0072)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F73 #2F7A36
analogous
#5B2F7A #7A2F73 #7A2F4D
triadic
#7A2F73 #737A2F #2F737A
tetradic
#7A2F73 #7A5B2F #2F7A36 #2F4D7A
square
#7A2F73 #7A5B2F #2F7A36 #2F4D7A
split-complementary
#7A2F73 #4D7A2F #2F7A5B
monochromatic
#220D20 #4E1E49 #7A2F73 #A6409D #C261B9

Accessibility & contrast

On white

8.46
#7A2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2F73
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F73#FFFFFF#000000##FFFFFF
##7A2F731.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4675
Deuteranopia (green-blind)
#435171
Tritanopia (blue-blind)
#7F364C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2f73;
/* rgb */ color: rgb(122, 47, 115);
/* oklch */ color: oklch(43.8% 0.136 331.4);
Tailwind
colors: {
  custom: {
    50: '#a36c9b',
    500: '#7a2f73',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f73;
$custom-light: #a36c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f73",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 305.6,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43751,
    "c": 0.13564,
    "h": 331.4
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#7A2F73
secondary
#5CA963
accent
#D46054
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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