#7A2E70#7A2E70

#7A2E70 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.5% C 0.135 H 333.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7A2E70
RGBrgb(122, 46, 112)
HSLhsl(308, 45%, 33%)
HSVhsv(308, 62%, 48%)
CMYKcmyk(0%, 62.3%, 8.2%, 52.2%)
CIE-LABlab(32.40, 41.72, -22.32)
CIE-LCHlch(32.40, 47.31, 331.86°)
OKLaboklab(43.47% 0.12 -0.0609)
OKLCHoklch(43.47% 0.135 333.1)
XYZxyz(11.9277, 7.2623, 16.0996)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2E70 #2E7A38
analogous
#5E2E7A #7A2E70 #7A2E4A
triadic
#7A2E70 #707A2E #2E707A
tetradic
#7A2E70 #7A5E2E #2E7A38 #2E4A7A
square
#7A2E70 #7A5E2E #2E7A38 #2E4A7A
split-complementary
#7A2E70 #4A7A2E #2E7A5E
monochromatic
#210C1E #4E1D47 #7A2E70 #A63F99 #C360B6

Accessibility & contrast

On white

8.56
#7A2E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7A2E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2E70
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2E70#FFFFFF#000000##FFFFFF
##7A2E701.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4572
Deuteranopia (green-blind)
#44506E
Tritanopia (blue-blind)
#7F344A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2e70;
/* rgb */ color: rgb(122, 46, 112);
/* oklch */ color: oklch(43.5% 0.135 333.1);
Tailwind
colors: {
  custom: {
    50: '#a36c99',
    500: '#7a2e70',
    950: '#000000',
  },
}
SCSS
$custom: #7a2e70;
$custom-light: #a36c99;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2e70",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 307.895,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43465,
    "c": 0.13462,
    "h": 333.1
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#7A2E70
secondary
#5AAA65
accent
#D56453
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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