#7A2D7B#7A2D7B

#7A2D7B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.146 H 327.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7A2D7B
RGBrgb(122, 45, 123)
HSLhsl(299, 46%, 33%)
HSVhsv(299, 63%, 48%)
CMYKcmyk(0.8%, 63.4%, 0%, 51.8%)
CIE-LABlab(32.80, 44.19, -28.62)
CIE-LCHlch(32.80, 52.65, 327.07°)
OKLaboklab(43.95% 0.1226 -0.079)
OKLCHoklch(43.95% 0.146 327.2)
XYZxyz(12.5394, 7.4452, 19.5117)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D7B #2E7B2D
analogous
#532D7B #7A2D7B #7B2D55
triadic
#7A2D7B #7B7A2D #2D7B7A
tetradic
#7A2D7B #7B532D #2E7B2D #2D557B
square
#7A2D7B #7B532D #2E7B2D #2D557B
split-complementary
#7A2D7B #557B2D #2D7B53
monochromatic
#210C21 #4E1D4E #7A2D7B #A63DA8 #C35EC4

Accessibility & contrast

On white

8.44
#7A2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7A2D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2D7B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D7B#FFFFFF#000000##FFFFFF
##7A2D7B1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477D
Deuteranopia (green-blind)
#3E5179
Tritanopia (blue-blind)
#7E3750
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2d7b;
/* rgb */ color: rgb(122, 45, 123);
/* oklch */ color: oklch(43.9% 0.146 327.2);
Tailwind
colors: {
  custom: {
    50: '#a36ca1',
    500: '#7a2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d7b;
$custom-light: #a36ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d7b",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 299.231,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43946,
    "c": 0.14591,
    "h": 327.2
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#7A2D7B
secondary
#5AAB59
accent
#D65253
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #7A2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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