#7C1790#7C1790

#7C1790 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.6% C 0.191 H 320.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#7C1790
RGBrgb(124, 23, 144)
HSLhsl(290, 72%, 33%)
HSVhsv(290, 84%, 56%)
CMYKcmyk(13.9%, 84%, 0%, 43.5%)
CIE-LABlab(31.61, 56.65, -43.56)
CIE-LCHlch(31.61, 71.47, 322.44°)
OKLaboklab(43.58% 0.1461 -0.1224)
OKLCHoklch(43.58% 0.191 320)
XYZxyz(13.6520, 6.9122, 26.9952)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1790 #2B9017
analogous
#401790 #7C1790 #901767
triadic
#7C1790 #907C17 #17907C
tetradic
#7C1790 #904017 #2B9017 #176790
square
#7C1790 #904017 #2B9017 #176790
split-complementary
#7C1790 #679017 #179040
monochromatic
#210626 #4F0F5B #7C1790 #A91FC5 #C641E1

Accessibility & contrast

On white

8.82
#7C1790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7C1790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1790
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1790#FFFFFF#000000##FFFFFF
##7C17901.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#244E8D
Tritanopia (blue-blind)
#7C3355
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c1790;
/* rgb */ color: rgb(124, 23, 144);
/* oklch */ color: oklch(43.6% 0.191 320.0);
Tailwind
colors: {
  custom: {
    50: '#a663b1',
    500: '#7c1790',
    950: '#000000',
  },
}
SCSS
$custom: #7c1790;
$custom-light: #a663b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1790",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 290.083,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43578,
    "c": 0.19063,
    "h": 320
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#7C1790
secondary
#57C142
accent
#EF3957
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1790

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

Preview Lab → · Contrast checker → · Palette generator →

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