#7D1790#7D1790

#7D1790 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.191 H 320.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7D1790
RGBrgb(125, 23, 144)
HSLhsl(291, 72%, 33%)
HSVhsv(291, 84%, 56%)
CMYKcmyk(13.2%, 84%, 0%, 43.5%)
CIE-LABlab(31.78, 56.84, -43.28)
CIE-LCHlch(31.78, 71.44, 322.71°)
OKLaboklab(43.73% 0.1473 -0.1215)
OKLCHoklch(43.73% 0.191 320.5)
XYZxyz(13.7973, 6.9871, 27.0021)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1790 #2A9017
analogous
#411790 #7D1790 #901766
triadic
#7D1790 #907D17 #17907D
tetradic
#7D1790 #904117 #2A9017 #176690
square
#7D1790 #904117 #2A9017 #176690
split-complementary
#7D1790 #669017 #179041
monochromatic
#210626 #4F0F5B #7D1790 #AB1FC5 #C841E1

Accessibility & contrast

On white

8.76
#7D1790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7D1790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1790
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1790#FFFFFF#000000##FFFFFF
##7D17901.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#264E8D
Tritanopia (blue-blind)
#7E3355
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d1790;
/* rgb */ color: rgb(125, 23, 144);
/* oklch */ color: oklch(43.7% 0.191 320.5);
Tailwind
colors: {
  custom: {
    50: '#a763b1',
    500: '#7d1790',
    950: '#000000',
  },
}
SCSS
$custom: #7d1790;
$custom-light: #a763b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1790",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 290.579,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43731,
    "c": 0.191,
    "h": 320.5
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#7D1790
secondary
#56C142
accent
#EF3955
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1790

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

Preview Lab → · Contrast checker → · Palette generator →

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