#7E1C75#7E1C75

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

Color values

HEX#7E1C75
RGBrgb(126, 28, 117)
HSLhsl(306, 64%, 30%)
HSVhsv(306, 78%, 49%)
CMYKcmyk(0%, 77.8%, 7.1%, 50.6%)
CIE-LABlab(30.76, 50.86, -28.00)
CIE-LCHlch(30.76, 58.06, 331.16°)
OKLaboklab(42.5% 0.1461 -0.077)
OKLCHoklch(42.5% 0.165 332.2)
XYZxyz(12.2304, 6.5515, 17.4466)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C75 #1C7E25
analogous
#561C7E #7E1C75 #7E1C44
triadic
#7E1C75 #757E1C #1C757E
tetradic
#7E1C75 #7E561C #1C7E25 #1C447E
square
#7E1C75 #7E561C #1C7E25 #1C447E
split-complementary
#7E1C75 #447E1C #1C7E56
monochromatic
#1A0618 #4C1147 #7E1C75 #B027A3 #D540C7

Accessibility & contrast

On white

9.09
#7E1C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E1C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C75
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C75#FFFFFF#000000##FFFFFF
##7E1C751.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154077
Deuteranopia (green-blind)
#3D4D73
Tritanopia (blue-blind)
#842747
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1c75;
/* rgb */ color: rgb(126, 28, 117);
/* oklch */ color: oklch(42.5% 0.165 332.2);
Tailwind
colors: {
  custom: {
    50: '#a7649d',
    500: '#7e1c75',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c75;
$custom-light: #a7649d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c75",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 305.51,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42501,
    "c": 0.16515,
    "h": 332.2
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#7E1C75
secondary
#44B24E
accent
#E75041
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1C75

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

Preview Lab → · Contrast checker → · Palette generator →

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