#7B2382#7B2382

#7B2382 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.166 H 324.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7B2382
RGBrgb(123, 35, 130)
HSLhsl(296, 58%, 32%)
HSVhsv(296, 73%, 51%)
CMYKcmyk(5.4%, 73.1%, 0%, 49%)
CIE-LABlab(31.86, 49.96, -34.47)
CIE-LCHlch(31.86, 60.70, 325.40°)
OKLaboklab(43.44% 0.1358 -0.0959)
OKLCHoklch(43.44% 0.166 324.8)
XYZxyz(12.7984, 7.0255, 21.7967)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2382 #2A8223
analogous
#4C2382 #7B2382 #82235A
triadic
#7B2382 #827B23 #23827B
tetradic
#7B2382 #824C23 #2A8223 #235A82
square
#7B2382 #824C23 #2A8223 #235A82
split-complementary
#7B2382 #5A8223 #23824C
monochromatic
#200922 #4D1652 #7B2382 #A930B2 #C650D0

Accessibility & contrast

On white

8.73
#7B2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7B2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2382
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2382#FFFFFF#000000##FFFFFF
##7B23821.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074485
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#7E3350
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2382;
/* rgb */ color: rgb(123, 35, 130);
/* oklch */ color: oklch(43.4% 0.166 324.8);
Tailwind
colors: {
  custom: {
    50: '#a467a7',
    500: '#7b2382',
    950: '#000000',
  },
}
SCSS
$custom: #7b2382;
$custom-light: #a467a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2382",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 295.579,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43435,
    "c": 0.16624,
    "h": 324.8
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

primary
#7B2382
secondary
#55B34D
accent
#E14752
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B2382

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

Preview Lab → · Contrast checker → · Palette generator →

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