#7E0E72#7E0E72

#7E0E72 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.175 H 333.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7E0E72
RGBrgb(126, 14, 114)
HSLhsl(306, 80%, 27%)
HSVhsv(306, 89%, 49%)
CMYKcmyk(0%, 88.9%, 9.5%, 50.6%)
CIE-LABlab(29.33, 54.05, -28.36)
CIE-LCHlch(29.33, 61.04, 332.31°)
OKLaboklab(41.42% 0.1568 -0.078)
OKLCHoklch(41.42% 0.175 333.6)
XYZxyz(11.7986, 5.9657, 16.4464)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E0E72 #0E7E1A
analogous
#520E7E #7E0E72 #7E0E3A
triadic
#7E0E72 #727E0E #0E727E
tetradic
#7E0E72 #7E520E #0E7E1A #0E3A7E
square
#7E0E72 #7E520E #0E7E1A #0E3A7E
split-complementary
#7E0E72 #3A7E0E #0E7E52
monochromatic
#1C0319 #470840 #7E0E72 #B514A4 #E620D1

Accessibility & contrast

On white

9.58
#7E0E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E0E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E0E72
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E0E72#FFFFFF#000000##FFFFFF
##7E0E721.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063B74
Deuteranopia (green-blind)
#3A4A70
Tritanopia (blue-blind)
#841D42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e0e72;
/* rgb */ color: rgb(126, 14, 114);
/* oklch */ color: oklch(41.4% 0.175 333.6);
Tailwind
colors: {
  custom: {
    50: '#a75f9b',
    500: '#7e0e72',
    950: '#000000',
  },
}
SCSS
$custom: #7e0e72;
$custom-light: #a75f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e0e72",
  "rgb": {
    "r": 126,
    "g": 14,
    "b": 114
  },
  "hsl": {
    "h": 306.429,
    "s": 80,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4142,
    "c": 0.17508,
    "h": 333.6
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#7E0E72
secondary
#33B541
accent
#F64631
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7E0E72

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

Preview Lab → · Contrast checker → · Palette generator →

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