#7D0F72#7D0F72

#7D0F72 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.174 H 333.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7D0F72
RGBrgb(125, 15, 114)
HSLhsl(306, 79%, 27%)
HSVhsv(306, 88%, 49%)
CMYKcmyk(0%, 88%, 8.8%, 51%)
CIE-LABlab(29.20, 53.64, -28.57)
CIE-LCHlch(29.20, 60.77, 331.96°)
OKLaboklab(41.3% 0.1551 -0.0786)
OKLCHoklch(41.3% 0.174 333.1)
XYZxyz(11.6656, 5.9176, 16.4441)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D0F72 #0F7D1A
analogous
#510F7D #7D0F72 #7D0F3B
triadic
#7D0F72 #727D0F #0F727D
tetradic
#7D0F72 #7D510F #0F7D1A #0F3B7D
square
#7D0F72 #7D510F #0F7D1A #0F3B7D
split-complementary
#7D0F72 #3B7D0F #0F7D51
monochromatic
#1B0319 #460840 #7D0F72 #B416A4 #E422D1

Accessibility & contrast

On white

9.62
#7D0F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D0F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D0F72
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D0F72#FFFFFF#000000##FFFFFF
##7D0F721.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063B74
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#831E43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d0f72;
/* rgb */ color: rgb(125, 15, 114);
/* oklch */ color: oklch(41.3% 0.174 333.1);
Tailwind
colors: {
  custom: {
    50: '#a6609b',
    500: '#7d0f72',
    950: '#000000',
  },
}
SCSS
$custom: #7d0f72;
$custom-light: #a6609b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d0f72",
  "rgb": {
    "r": 125,
    "g": 15,
    "b": 114
  },
  "hsl": {
    "h": 306,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41298,
    "c": 0.17392,
    "h": 333.1
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#7D0F72
secondary
#34B441
accent
#F54633
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7D0F72

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

Preview Lab → · Contrast checker → · Palette generator →

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