#7C2080#7C2080

#7C2080 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.169 H 326.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7C2080
RGBrgb(124, 32, 128)
HSLhsl(298, 60%, 31%)
HSVhsv(298, 75%, 50%)
CMYKcmyk(3.1%, 75%, 0%, 49.8%)
CIE-LABlab(31.53, 50.93, -33.75)
CIE-LCHlch(31.53, 61.10, 326.47°)
OKLaboklab(43.19% 0.1401 -0.0938)
OKLCHoklch(43.19% 0.169 326.2)
XYZxyz(12.7247, 6.8775, 21.0752)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2080 #248020
analogous
#4C2080 #7C2080 #802054
triadic
#7C2080 #807C20 #20807C
tetradic
#7C2080 #804C20 #248020 #205480
square
#7C2080 #804C20 #248020 #205480
split-complementary
#7C2080 #548020 #20804C
monochromatic
#1D081E #4D144F #7C2080 #AB2CB1 #CC49D1

Accessibility & contrast

On white

8.84
#7C2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2080
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2080#FFFFFF#000000##FFFFFF
##7C20801.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064383
Deuteranopia (green-blind)
#364E7E
Tritanopia (blue-blind)
#7F304E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c2080;
/* rgb */ color: rgb(124, 32, 128);
/* oklch */ color: oklch(43.2% 0.169 326.2);
Tailwind
colors: {
  custom: {
    50: '#a566a5',
    500: '#7c2080',
    950: '#000000',
  },
}
SCSS
$custom: #7c2080;
$custom-light: #a566a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2080",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 297.5,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43187,
    "c": 0.16855,
    "h": 326.2
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#7C2080
secondary
#4DB349
accent
#E3454B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C2080

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

Preview Lab → · Contrast checker → · Palette generator →

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