#7B1790#7B1790

#7B1790 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.4% C 0.190 H 319.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7B1790
RGBrgb(123, 23, 144)
HSLhsl(290, 72%, 33%)
HSVhsv(290, 84%, 56%)
CMYKcmyk(14.6%, 84%, 0%, 43.5%)
CIE-LABlab(31.44, 56.47, -43.85)
CIE-LCHlch(31.44, 71.49, 322.17°)
OKLaboklab(43.43% 0.1449 -0.1233)
OKLCHoklch(43.43% 0.19 319.6)
XYZxyz(13.5082, 6.8381, 26.9885)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1790 #2C9017
analogous
#3F1790 #7B1790 #901768
triadic
#7B1790 #907B17 #17907B
tetradic
#7B1790 #903F17 #2C9017 #176890
square
#7B1790 #903F17 #2C9017 #176890
split-complementary
#7B1790 #689017 #17903F
monochromatic
#210626 #4E0F5B #7B1790 #A81FC5 #C541E1

Accessibility & contrast

On white

8.87
#7B1790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7B1790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1790
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1790#FFFFFF#000000##FFFFFF
##7B17901.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#234D8D
Tritanopia (blue-blind)
#7B3355
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1790;
/* rgb */ color: rgb(123, 23, 144);
/* oklch */ color: oklch(43.4% 0.190 319.6);
Tailwind
colors: {
  custom: {
    50: '#a563b1',
    500: '#7b1790',
    950: '#000000',
  },
}
SCSS
$custom: #7b1790;
$custom-light: #a563b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1790",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 289.587,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43425,
    "c": 0.19024,
    "h": 319.6
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#7B1790
secondary
#58C142
accent
#EF3958
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B1790

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

Preview Lab → · Contrast checker → · Palette generator →

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