#7E1E75#7E1E75

#7E1E75 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.163 H 332.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7E1E75
RGBrgb(126, 30, 117)
HSLhsl(306, 62%, 31%)
HSVhsv(306, 76%, 49%)
CMYKcmyk(0%, 76.2%, 7.1%, 50.6%)
CIE-LABlab(31.00, 50.20, -27.64)
CIE-LCHlch(31.00, 57.30, 331.17°)
OKLaboklab(42.67% 0.1442 -0.076)
OKLCHoklch(42.67% 0.163 332.2)
XYZxyz(12.2794, 6.6495, 17.4629)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E75 #1E7E27
analogous
#571E7E #7E1E75 #7E1E45
triadic
#7E1E75 #757E1E #1E757E
tetradic
#7E1E75 #7E571E #1E7E27 #1E457E
square
#7E1E75 #7E571E #1E7E27 #1E457E
split-complementary
#7E1E75 #457E1E #1E7E57
monochromatic
#1B0619 #4D1247 #7E1E75 #AF2AA3 #D244C5

Accessibility & contrast

On white

9.01
#7E1E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7E1E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E75
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E75#FFFFFF#000000##FFFFFF
##7E1E751.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184077
Deuteranopia (green-blind)
#3D4E73
Tritanopia (blue-blind)
#842948
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e1e75;
/* rgb */ color: rgb(126, 30, 117);
/* oklch */ color: oklch(42.7% 0.163 332.2);
Tailwind
colors: {
  custom: {
    50: '#a7659d',
    500: '#7e1e75',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e75;
$custom-light: #a7659d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e75",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 305.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42668,
    "c": 0.16296,
    "h": 332.2
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#7E1E75
secondary
#47B151
accent
#E55243
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1E75

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

Preview Lab → · Contrast checker → · Palette generator →

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