#7D2391#7D2391

#7D2391 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.180 H 319.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7D2391
RGBrgb(125, 35, 145)
HSLhsl(289, 61%, 35%)
HSVhsv(289, 76%, 57%)
CMYKcmyk(13.8%, 75.9%, 0%, 43.1%)
CIE-LABlab(33.15, 53.26, -41.69)
CIE-LCHlch(33.15, 67.63, 321.95°)
OKLaboklab(44.72% 0.1373 -0.1169)
OKLCHoklch(44.72% 0.18 319.6)
XYZxyz(14.1687, 7.6071, 27.5046)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2391 #379123
analogous
#462391 #7D2391 #91236E
triadic
#7D2391 #917D23 #23917D
tetradic
#7D2391 #914623 #379123 #236E91
square
#7D2391 #914623 #379123 #236E91
split-complementary
#7D2391 #6E9123 #239146
monochromatic
#280B2E #521760 #7D2391 #A72FC2 #C058D7

Accessibility & contrast

On white

8.33
#7D2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7D2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2391
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2391#FFFFFF#000000##FFFFFF
##7D23911.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#2C518F
Tritanopia (blue-blind)
#7D3958
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2391;
/* rgb */ color: rgb(125, 35, 145);
/* oklch */ color: oklch(44.7% 0.180 319.6);
Tailwind
colors: {
  custom: {
    50: '#a668b2',
    500: '#7d2391',
    950: '#000000',
  },
}
SCSS
$custom: #7d2391;
$custom-light: #a668b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2391",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 289.091,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44723,
    "c": 0.18033,
    "h": 319.6
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

primary
#7D2391
secondary
#67BB55
accent
#E44461
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2391

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

Preview Lab → · Contrast checker → · Palette generator →

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