#4E2B76#4E2B76

#4E2B76 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.4% C 0.124 H 302.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#4E2B76
RGBrgb(78, 43, 118)
HSLhsl(268, 47%, 32%)
HSVhsv(268, 64%, 46%)
CMYKcmyk(33.9%, 63.6%, 0%, 53.7%)
CIE-LABlab(25.73, 32.42, -37.10)
CIE-LCHlch(25.73, 49.28, 311.15°)
OKLaboklab(37.36% 0.0663 -0.1052)
OKLCHoklch(37.36% 0.124 302.2)
XYZxyz(7.2750, 4.6554, 17.6513)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B76 #53762B
analogous
#2B2E76 #4E2B76 #742B76
triadic
#4E2B76 #764E2B #2B764E
tetradic
#4E2B76 #762B2E #53762B #2B7674
square
#4E2B76 #762B2E #53762B #2B7674
split-complementary
#4E2B76 #76742B #2E762B
monochromatic
#130A1C #301B49 #4E2B76 #6C3BA3 #8A59C2

Accessibility & contrast

On white

10.88
#4E2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4E2B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B76
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B76#FFFFFF#000000##FFFFFF
##4E2B761.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#153D74
Tritanopia (blue-blind)
#463B4C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2b76;
/* rgb */ color: rgb(78, 43, 118);
/* oklch */ color: oklch(37.4% 0.124 302.2);
Tailwind
colors: {
  custom: {
    50: '#83669e',
    500: '#4e2b76',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b76;
$custom-light: #83669e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b76",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 268,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37364,
    "c": 0.12433,
    "h": 302.2
  },
  "luminance": 0.04655
}

Semantic roles & 50–950 ramp

primary
#4E2B76
secondary
#81A855
accent
#D65298
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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