#7D1380#7D1380

#7D1380 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.181 H 326.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7D1380
RGBrgb(125, 19, 128)
HSLhsl(298, 74%, 29%)
HSVhsv(298, 85%, 50%)
CMYKcmyk(2.3%, 85.2%, 0%, 49.8%)
CIE-LABlab(30.36, 55.01, -35.59)
CIE-LCHlch(30.36, 65.52, 327.10°)
OKLaboklab(42.39% 0.152 -0.099)
OKLCHoklch(42.39% 0.181 326.9)
XYZxyz(12.5864, 6.3852, 20.9874)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1380 #168013
analogous
#471380 #7D1380 #80134D
triadic
#7D1380 #807D13 #13807D
tetradic
#7D1380 #804713 #168013 #134D80
square
#7D1380 #804713 #168013 #134D80
split-complementary
#7D1380 #4D8013 #138047
monochromatic
#1A041B #490B4B #7D1380 #B11BB5 #DB2DE0

Accessibility & contrast

On white

9.22
#7D1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1380
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1380#FFFFFF#000000##FFFFFF
##7D13801.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#81294B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1380;
/* rgb */ color: rgb(125, 19, 128);
/* oklch */ color: oklch(42.4% 0.181 326.9);
Tailwind
colors: {
  custom: {
    50: '#a661a5',
    500: '#7d1380',
    950: '#000000',
  },
}
SCSS
$custom: #7d1380;
$custom-light: #a661a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1380",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 298.349,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42394,
    "c": 0.18141,
    "h": 326.9
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#7D1380
secondary
#3DB539
accent
#F1373C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1380

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

Preview Lab → · Contrast checker → · Palette generator →

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