#7E2E75#7E2E75

#7E2E75 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.3% C 0.142 H 332.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7E2E75
RGBrgb(126, 46, 117)
HSLhsl(307, 47%, 34%)
HSVhsv(307, 63%, 49%)
CMYKcmyk(0%, 63.5%, 7.1%, 50.6%)
CIE-LABlab(33.30, 43.75, -24.02)
CIE-LCHlch(33.30, 49.91, 331.23°)
OKLaboklab(44.33% 0.1254 -0.0657)
OKLCHoklch(44.33% 0.142 332.3)
XYZxyz(12.7921, 7.6749, 17.6338)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E75 #2E7E37
analogous
#5F2E7E #7E2E75 #7E2E4D
triadic
#7E2E75 #757E2E #2E757E
tetradic
#7E2E75 #7E5F2E #2E7E37 #2E4D7E
square
#7E2E75 #7E5F2E #2E7E37 #2E4D7E
split-complementary
#7E2E75 #4D7E2E #2E7E5F
monochromatic
#240D22 #511E4B #7E2E75 #AB3E9F #C561BA

Accessibility & contrast

On white

8.28
#7E2E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7E2E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E75
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E75#FFFFFF#000000##FFFFFF
##7E2E751.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4777
Deuteranopia (green-blind)
#455273
Tritanopia (blue-blind)
#83354D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2e75;
/* rgb */ color: rgb(126, 46, 117);
/* oklch */ color: oklch(44.3% 0.142 332.3);
Tailwind
colors: {
  custom: {
    50: '#a66c9d',
    500: '#7e2e75',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e75;
$custom-light: #a66c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e75",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 306.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44334,
    "c": 0.14161,
    "h": 332.3
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#7E2E75
secondary
#5CAC65
accent
#D66152
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E2E75

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

Preview Lab → · Contrast checker → · Palette generator →

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