#4E359A#4E359A

#4E359A is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.8% C 0.156 H 289.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4E359A
RGBrgb(78, 53, 154)
HSLhsl(255, 49%, 41%)
HSVhsv(255, 66%, 60%)
CMYKcmyk(49.4%, 65.6%, 0%, 39.6%)
CIE-LABlab(30.64, 36.94, -51.56)
CIE-LCHlch(30.64, 63.43, 305.62°)
OKLaboklab(41.79% 0.0515 -0.1477)
OKLCHoklch(41.79% 0.156 289.2)
XYZxyz(10.2460, 6.4986, 31.2801)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E359A #819A35
analogous
#354F9A #4E359A #80359A
triadic
#4E359A #9A4E35 #359A4E
tetradic
#4E359A #9A354F #819A35 #359A80
square
#4E359A #9A354F #819A35 #359A80
split-complementary
#4E359A #9A8035 #4F9A35
monochromatic
#20163F #37256C #4E359A #684BC1 #8E79D1

Accessibility & contrast

On white

9.13
#4E359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E359A
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E359A#FFFFFF#000000##FFFFFF
##4E359A1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#354D62
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e359a;
/* rgb */ color: rgb(78, 53, 154);
/* oklch */ color: oklch(41.8% 0.156 289.2);
Tailwind
colors: {
  custom: {
    50: '#866eb9',
    500: '#4e359a',
    950: '#000000',
  },
}
SCSS
$custom: #4e359a;
$custom-light: #866eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e359a",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 254.851,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41787,
    "c": 0.15638,
    "h": 289.2
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#4E359A
secondary
#A8B971
accent
#D84FB6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E359A

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

Preview Lab → · Contrast checker → · Palette generator →

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