#7D2382#7D2382

#7D2382 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.167 H 325.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7D2382
RGBrgb(125, 35, 130)
HSLhsl(297, 58%, 32%)
HSVhsv(297, 73%, 51%)
CMYKcmyk(3.8%, 73.1%, 0%, 49%)
CIE-LABlab(32.20, 50.43, -33.92)
CIE-LCHlch(32.20, 60.77, 326.08°)
OKLaboklab(43.74% 0.1381 -0.0943)
OKLCHoklch(43.74% 0.167 325.7)
XYZxyz(13.0875, 7.1746, 21.8103)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2382 #288223
analogous
#4D2382 #7D2382 #822358
triadic
#7D2382 #827D23 #23827D
tetradic
#7D2382 #824D23 #288223 #235882
square
#7D2382 #824D23 #288223 #235882
split-complementary
#7D2382 #588223 #23824D
monochromatic
#200922 #4F1652 #7D2382 #AB30B2 #C950D0

Accessibility & contrast

On white

8.62
#7D2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7D2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2382
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2382#FFFFFF#000000##FFFFFF
##7D23821.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4585
Deuteranopia (green-blind)
#385080
Tritanopia (blue-blind)
#803350
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2382;
/* rgb */ color: rgb(125, 35, 130);
/* oklch */ color: oklch(43.7% 0.167 325.7);
Tailwind
colors: {
  custom: {
    50: '#a667a7',
    500: '#7d2382',
    950: '#000000',
  },
}
SCSS
$custom: #7d2382;
$custom-light: #a667a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2382",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 296.842,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43742,
    "c": 0.16724,
    "h": 325.7
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#7D2382
secondary
#53B34D
accent
#E1474F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2382

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

Preview Lab → · Contrast checker → · Palette generator →

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