#7E1370#7E1370

#7E1370 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.170 H 334.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7E1370
RGBrgb(126, 19, 112)
HSLhsl(308, 74%, 28%)
HSVhsv(308, 85%, 49%)
CMYKcmyk(0%, 84.9%, 11.1%, 50.6%)
CIE-LABlab(29.59, 52.64, -26.66)
CIE-LCHlch(29.59, 59.00, 333.14°)
OKLaboklab(41.58% 0.1534 -0.0731)
OKLCHoklch(41.58% 0.17 334.5)
XYZxyz(11.7618, 6.0723, 15.8787)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1370 #137E21
analogous
#56137E #7E1370 #7E133B
triadic
#7E1370 #707E13 #13707E
tetradic
#7E1370 #7E5613 #137E21 #133B7E
square
#7E1370 #7E5613 #137E21 #133B7E
split-complementary
#7E1370 #3B7E13 #137E56
monochromatic
#1B0418 #490B41 #7E1370 #B31B9F #DF2CC8

Accessibility & contrast

On white

9.48
#7E1370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E1370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1370
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1370#FFFFFF#000000##FFFFFF
##7E13701.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113C72
Deuteranopia (green-blind)
#3C4B6E
Tritanopia (blue-blind)
#841F42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1370;
/* rgb */ color: rgb(126, 19, 112);
/* oklch */ color: oklch(41.6% 0.170 334.5);
Tailwind
colors: {
  custom: {
    50: '#a76199',
    500: '#7e1370',
    950: '#000000',
  },
}
SCSS
$custom: #7e1370;
$custom-light: #a76199;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1370",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 307.85,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41575,
    "c": 0.16995,
    "h": 334.5
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#7E1370
secondary
#39B449
accent
#F05037
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1370

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

Preview Lab → · Contrast checker → · Palette generator →

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