#4E2379#4E2379

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

Color values

HEX#4E2379
RGBrgb(78, 35, 121)
HSLhsl(270, 55%, 31%)
HSVhsv(270, 71%, 47%)
CMYKcmyk(35.5%, 71.1%, 0%, 52.5%)
CIE-LABlab(24.33, 37.66, -41.28)
CIE-LCHlch(24.33, 55.88, 312.38°)
OKLaboklab(36.43% 0.076 -0.1174)
OKLCHoklch(36.43% 0.14 302.9)
XYZxyz(7.1933, 4.2022, 18.5176)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2379 #4E7923
analogous
#232379 #4E2379 #792379
triadic
#4E2379 #794E23 #23794E
tetradic
#4E2379 #792323 #4E7923 #237979
square
#4E2379 #792323 #4E7923 #237979
split-complementary
#4E2379 #797923 #237923
monochromatic
#11081A #2F154A #4E2379 #6D31A8 #8B4BCB

Accessibility & contrast

On white

11.41
#4E2379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2379
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2379#FFFFFF#000000##FFFFFF
##4E23791.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#45374B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2379;
/* rgb */ color: rgb(78, 35, 121);
/* oklch */ color: oklch(36.4% 0.140 302.9);
Tailwind
colors: {
  custom: {
    50: '#8461a0',
    500: '#4e2379',
    950: '#000000',
  },
}
SCSS
$custom: #4e2379;
$custom-light: #8461a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2379",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 270,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36425,
    "c": 0.13983,
    "h": 302.9
  },
  "luminance": 0.04202
}

Semantic roles & 50–950 ramp

primary
#4E2379
secondary
#7CAC4C
accent
#DE4994
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #4E2379

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

Preview Lab → · Contrast checker → · Palette generator →

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