#7C1380#7C1380

#7C1380 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.181 H 326.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7C1380
RGBrgb(124, 19, 128)
HSLhsl(298, 74%, 29%)
HSVhsv(298, 85%, 50%)
CMYKcmyk(3.1%, 85.2%, 0%, 49.8%)
CIE-LABlab(30.18, 54.81, -35.89)
CIE-LCHlch(30.18, 65.52, 326.78°)
OKLaboklab(42.23% 0.1509 -0.0999)
OKLCHoklch(42.23% 0.181 326.5)
XYZxyz(12.4411, 6.3102, 20.9806)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1380 #178013
analogous
#461380 #7C1380 #80134E
triadic
#7C1380 #807C13 #13807C
tetradic
#7C1380 #804613 #178013 #134E80
square
#7C1380 #804613 #178013 #134E80
split-complementary
#7C1380 #4E8013 #138046
monochromatic
#1A041B #480B4B #7C1380 #B01BB5 #D92DE0

Accessibility & contrast

On white

9.28
#7C1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7C1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1380
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1380#FFFFFF#000000##FFFFFF
##7C13801.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#314B7E
Tritanopia (blue-blind)
#7F294B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1380;
/* rgb */ color: rgb(124, 19, 128);
/* oklch */ color: oklch(42.2% 0.181 326.5);
Tailwind
colors: {
  custom: {
    50: '#a661a5',
    500: '#7c1380',
    950: '#000000',
  },
}
SCSS
$custom: #7c1380;
$custom-light: #a661a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1380",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 297.798,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.18098,
    "h": 326.5
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#7C1380
secondary
#3EB539
accent
#F1373E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1380

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

Preview Lab → · Contrast checker → · Palette generator →

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