#7D1A75#7D1A75

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

Color values

HEX#7D1A75
RGBrgb(125, 26, 117)
HSLhsl(305, 66%, 30%)
HSVhsv(305, 79%, 49%)
CMYKcmyk(0%, 79.2%, 6.4%, 51%)
CIE-LABlab(30.36, 51.26, -28.65)
CIE-LCHlch(30.36, 58.72, 330.80°)
OKLaboklab(42.18% 0.1469 -0.0789)
OKLCHoklch(42.18% 0.167 331.7)
XYZxyz(12.0377, 6.3841, 17.4244)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A75 #1A7D22
analogous
#531A7D #7D1A75 #7D1A44
triadic
#7D1A75 #757D1A #1A757D
tetradic
#7D1A75 #7D531A #1A7D22 #1A447D
square
#7D1A75 #7D531A #1A7D22 #1A447D
split-complementary
#7D1A75 #447D1A #1A7D53
monochromatic
#190518 #4A0F46 #7D1A75 #B025A4 #D63BCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1A75#FFFFFF#000000##FFFFFF
##7D1A751.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)
#113F77
Deuteranopia (green-blind)
#3B4C73
Tritanopia (blue-blind)
#822647
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1a75;
/* rgb */ color: rgb(125, 26, 117);
/* oklch */ color: oklch(42.2% 0.167 331.7);
Tailwind
colors: {
  custom: {
    50: '#a6639d',
    500: '#7d1a75',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a75;
$custom-light: #a6639d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a75",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 304.848,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.16671,
    "h": 331.7
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#7D1A75
secondary
#42B14B
accent
#E94D3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1A75

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

Preview Lab → · Contrast checker → · Palette generator →

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