#7A2D75#7A2D75

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

Color values

HEX#7A2D75
RGBrgb(122, 45, 117)
HSLhsl(304, 46%, 33%)
HSVhsv(304, 63%, 48%)
CMYKcmyk(0%, 63.1%, 4.1%, 52.2%)
CIE-LABlab(32.48, 43.08, -25.35)
CIE-LCHlch(32.48, 49.99, 329.53°)
OKLaboklab(43.61% 0.1221 -0.0696)
OKLCHoklch(43.61% 0.141 330.3)
XYZxyz(12.1752, 7.2996, 17.5939)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D75 #2D7A32
analogous
#582D7A #7A2D75 #7A2D4E
triadic
#7A2D75 #757A2D #2D757A
tetradic
#7A2D75 #7A582D #2D7A32 #2D4E7A
square
#7A2D75 #7A582D #2D7A32 #2D4E7A
split-complementary
#7A2D75 #4E7A2D #2D7A58
monochromatic
#210C1F #4D1D4A #7A2D75 #A73DA0 #C45EBD

Accessibility & contrast

On white

8.54
#7A2D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7A2D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2D75
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D75#FFFFFF#000000##FFFFFF
##7A2D751.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284677
Deuteranopia (green-blind)
#415073
Tritanopia (blue-blind)
#7F354C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2d75;
/* rgb */ color: rgb(122, 45, 117);
/* oklch */ color: oklch(43.6% 0.141 330.3);
Tailwind
colors: {
  custom: {
    50: '#a36b9d',
    500: '#7a2d75',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d75;
$custom-light: #a36b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d75",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 117
  },
  "hsl": {
    "h": 303.896,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43608,
    "c": 0.14051,
    "h": 330.3
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#7A2D75
secondary
#59AA5E
accent
#D65B52
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2D75

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

Preview Lab → · Contrast checker → · Palette generator →

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