#4E2476#4E2476

#4E2476 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.135 H 303.9°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#4E2476
RGBrgb(78, 36, 118)
HSLhsl(271, 53%, 30%)
HSVhsv(271, 69%, 46%)
CMYKcmyk(33.9%, 69.5%, 0%, 53.7%)
CIE-LABlab(24.29, 36.35, -39.43)
CIE-LCHlch(24.29, 53.63, 312.67°)
OKLaboklab(36.32% 0.0752 -0.112)
OKLCHoklch(36.32% 0.135 303.9)
XYZxyz(7.0420, 4.1895, 17.5737)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2476 #4C7624
analogous
#252476 #4E2476 #762475
triadic
#4E2476 #764E24 #24764E
tetradic
#4E2476 #762524 #4C7624 #247576
square
#4E2476 #762524 #4C7624 #247576
split-complementary
#4E2476 #757624 #247625
monochromatic
#100718 #2F1647 #4E2476 #6D32A5 #8C4CC8

Accessibility & contrast

On white

11.43
#4E2476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E2476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2476
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2476#FFFFFF#000000##FFFFFF
##4E24761.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#063A74
Tritanopia (blue-blind)
#46364A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2476;
/* rgb */ color: rgb(78, 36, 118);
/* oklch */ color: oklch(36.3% 0.135 303.9);
Tailwind
colors: {
  custom: {
    50: '#83629e',
    500: '#4e2476',
    950: '#000000',
  },
}
SCSS
$custom: #4e2476;
$custom-light: #83629e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2476",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 270.732,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36322,
    "c": 0.13487,
    "h": 303.9
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#4E2476
secondary
#7AA94D
accent
#DD4B92
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2476

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

Preview Lab → · Contrast checker → · Palette generator →

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