#4E2D76#4E2D76

#4E2D76 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.121 H 301.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#4E2D76
RGBrgb(78, 45, 118)
HSLhsl(267, 45%, 32%)
HSVhsv(267, 62%, 46%)
CMYKcmyk(33.9%, 61.9%, 0%, 53.7%)
CIE-LABlab(26.17, 31.25, -36.40)
CIE-LCHlch(26.17, 47.97, 310.65°)
OKLaboklab(37.69% 0.0636 -0.1031)
OKLCHoklch(37.69% 0.121 301.7)
XYZxyz(7.3495, 4.8045, 17.6762)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D76 #55762D
analogous
#2D3176 #4E2D76 #732D76
triadic
#4E2D76 #764E2D #2D764E
tetradic
#4E2D76 #762D31 #55762D #2D7673
square
#4E2D76 #762D31 #55762D #2D7673
split-complementary
#4E2D76 #76732D #31762D
monochromatic
#130B1D #311C4A #4E2D76 #6B3EA2 #8A5CC1

Accessibility & contrast

On white

10.71
#4E2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4E2D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D76
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D76#FFFFFF#000000##FFFFFF
##4E2D761.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073D78
Deuteranopia (green-blind)
#183E74
Tritanopia (blue-blind)
#463C4D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2d76;
/* rgb */ color: rgb(78, 45, 118);
/* oklch */ color: oklch(37.7% 0.121 301.7);
Tailwind
colors: {
  custom: {
    50: '#83679e',
    500: '#4e2d76',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d76;
$custom-light: #83679e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d76",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 267.123,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37685,
    "c": 0.12115,
    "h": 301.7
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#4E2D76
secondary
#83A757
accent
#D4539A
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2D76

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

Preview Lab → · Contrast checker → · Palette generator →

#4E2D76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva