#7D1381#7D1381

#7D1381 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.182 H 326.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7D1381
RGBrgb(125, 19, 129)
HSLhsl(298, 74%, 29%)
HSVhsv(298, 85%, 51%)
CMYKcmyk(3.1%, 85.3%, 0%, 49.4%)
CIE-LABlab(30.43, 55.18, -36.12)
CIE-LCHlch(30.43, 65.95, 326.79°)
OKLaboklab(42.46% 0.1519 -0.1006)
OKLCHoklch(42.46% 0.182 326.5)
XYZxyz(12.6525, 6.4116, 21.3358)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1381 #178113
analogous
#461381 #7D1381 #81134E
triadic
#7D1381 #817D13 #13817D
tetradic
#7D1381 #814613 #178113 #134E81
square
#7D1381 #814613 #178113 #134E81
split-complementary
#7D1381 #4E8113 #138146
monochromatic
#1A041B #490B4C #7D1381 #B11BB6 #DA2EE0

Accessibility & contrast

On white

9.20
#7D1381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1381
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1381#FFFFFF#000000##FFFFFF
##7D13811.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#314C7F
Tritanopia (blue-blind)
#81294C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1381;
/* rgb */ color: rgb(125, 19, 129);
/* oklch */ color: oklch(42.5% 0.182 326.5);
Tailwind
colors: {
  custom: {
    50: '#a661a6',
    500: '#7d1381',
    950: '#000000',
  },
}
SCSS
$custom: #7d1381;
$custom-light: #a661a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1381",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 297.818,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4246,
    "c": 0.18219,
    "h": 326.5
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D1381

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

Preview Lab → · Contrast checker → · Palette generator →

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