#4E359D#4E359D

#4E359D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.0% C 0.160 H 288.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4E359D
RGBrgb(78, 53, 157)
HSLhsl(254, 50%, 41%)
HSVhsv(254, 66%, 62%)
CMYKcmyk(50.3%, 66.2%, 0%, 38.4%)
CIE-LABlab(30.88, 37.85, -52.99)
CIE-LCHlch(30.88, 65.12, 305.53°)
OKLaboklab(42.04% 0.0511 -0.1519)
OKLCHoklch(42.04% 0.16 288.6)
XYZxyz(10.4990, 6.5998, 32.6124)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E359D #849D35
analogous
#35509D #4E359D #82359D
triadic
#4E359D #9D4E35 #359D4E
tetradic
#4E359D #9D3550 #849D35 #359D82
square
#4E359D #9D3550 #849D35 #359D82
split-complementary
#4E359D #9D8235 #509D35
monochromatic
#211641 #37266F #4E359D #694CC3 #8F7AD2

Accessibility & contrast

On white

9.05
#4E359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4E359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E359D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E359D#FFFFFF#000000##FFFFFF
##4E359D1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#334E64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e359d;
/* rgb */ color: rgb(78, 53, 157);
/* oklch */ color: oklch(42.0% 0.160 288.6);
Tailwind
colors: {
  custom: {
    50: '#876ebb',
    500: '#4e359d',
    950: '#000000',
  },
}
SCSS
$custom: #4e359d;
$custom-light: #876ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e359d",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 254.423,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42037,
    "c": 0.16025,
    "h": 288.6
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#4E359D
secondary
#AABB73
accent
#D94FB8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E359D

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

Preview Lab → · Contrast checker → · Palette generator →

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