#4E2477#4E2477

#4E2477 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.136 H 303.5°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#4E2477
RGBrgb(78, 36, 119)
HSLhsl(270, 54%, 30%)
HSVhsv(270, 70%, 47%)
CMYKcmyk(34.5%, 69.7%, 0%, 53.3%)
CIE-LABlab(24.36, 36.61, -39.94)
CIE-LCHlch(24.36, 54.18, 312.50°)
OKLaboklab(36.4% 0.0751 -0.1135)
OKLCHoklch(36.4% 0.136 303.5)
XYZxyz(7.1018, 4.2134, 17.8883)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2477 #4D7724
analogous
#242477 #4E2477 #772476
triadic
#4E2477 #774E24 #24774E
tetradic
#4E2477 #772424 #4D7724 #247677
square
#4E2477 #772424 #4D7724 #247677
split-complementary
#4E2477 #767724 #247724
monochromatic
#100819 #2F1648 #4E2477 #6D32A6 #8B4CC9

Accessibility & contrast

On white

11.40
#4E2477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2477
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2477#FFFFFF#000000##FFFFFF
##4E24771.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#043A75
Tritanopia (blue-blind)
#46374A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2477;
/* rgb */ color: rgb(78, 36, 119);
/* oklch */ color: oklch(36.4% 0.136 303.5);
Tailwind
colors: {
  custom: {
    50: '#83629f',
    500: '#4e2477',
    950: '#000000',
  },
}
SCSS
$custom: #4e2477;
$custom-light: #83629f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2477",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 270.361,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36401,
    "c": 0.13606,
    "h": 303.5
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#4E2477
secondary
#7BAA4D
accent
#DD4B93
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2477

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

Preview Lab → · Contrast checker → · Palette generator →

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