#7D1D96#7D1D96

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

Color values

HEX#7D1D96
RGBrgb(125, 29, 150)
HSLhsl(288, 68%, 35%)
HSVhsv(288, 81%, 59%)
CMYKcmyk(16.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(32.79, 56.25, -45.33)
CIE-LCHlch(32.79, 72.24, 321.14°)
OKLaboklab(44.58% 0.1419 -0.1276)
OKLCHoklch(44.58% 0.191 318)
XYZxyz(14.4011, 7.4414, 29.5260)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D96 #36961D
analogous
#401D96 #7D1D96 #961D73
triadic
#7D1D96 #967D1D #1D967D
tetradic
#7D1D96 #96401D #36961D #1D7396
square
#7D1D96 #96401D #36961D #1D7396
split-complementary
#7D1D96 #73961D #1D9640
monochromatic
#28092F #521363 #7D1D96 #A827C9 #C050DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1D96#FFFFFF#000000##FFFFFF
##7D1D961.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)
#004799
Deuteranopia (green-blind)
#225093
Tritanopia (blue-blind)
#7C395A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d1d96;
/* rgb */ color: rgb(125, 29, 150);
/* oklch */ color: oklch(44.6% 0.191 318.0);
Tailwind
colors: {
  custom: {
    50: '#a766b6',
    500: '#7d1d96',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d96;
$custom-light: #a766b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d96",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 287.603,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44578,
    "c": 0.19081,
    "h": 318
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#7D1D96
secondary
#66C04F
accent
#EA3D61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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