#7B2482#7B2482

#7B2482 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.165 H 324.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7B2482
RGBrgb(123, 36, 130)
HSLhsl(296, 57%, 33%)
HSVhsv(296, 72%, 51%)
CMYKcmyk(5.4%, 72.3%, 0%, 49%)
CIE-LABlab(32.00, 49.58, -34.26)
CIE-LCHlch(32.00, 60.26, 325.36°)
OKLaboklab(43.53% 0.1347 -0.0953)
OKLCHoklch(43.53% 0.165 324.7)
XYZxyz(12.8282, 7.0852, 21.8067)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2482 #2B8224
analogous
#4C2482 #7B2482 #82245A
triadic
#7B2482 #827B24 #24827B
tetradic
#7B2482 #824C24 #2B8224 #245A82
square
#7B2482 #824C24 #2B8224 #245A82
split-complementary
#7B2482 #5A8224 #24824C
monochromatic
#200922 #4E1752 #7B2482 #A831B2 #C651CF

Accessibility & contrast

On white

8.69
#7B2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7B2482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2482
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2482#FFFFFF#000000##FFFFFF
##7B24821.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4585
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#7E3450
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2482;
/* rgb */ color: rgb(123, 36, 130);
/* oklch */ color: oklch(43.5% 0.165 324.7);
Tailwind
colors: {
  custom: {
    50: '#a468a7',
    500: '#7b2482',
    950: '#000000',
  },
}
SCSS
$custom: #7b2482;
$custom-light: #a468a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2482",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 295.532,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43532,
    "c": 0.16502,
    "h": 324.7
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#7B2482
secondary
#56B34F
accent
#E04853
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7B2482

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

Preview Lab → · Contrast checker → · Palette generator →

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