#4E369D#4E369D

#4E369D is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.2% C 0.159 H 288.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#4E369D
RGBrgb(78, 54, 157)
HSLhsl(254, 49%, 41%)
HSVhsv(254, 66%, 62%)
CMYKcmyk(50.3%, 65.6%, 0%, 38.4%)
CIE-LABlab(31.09, 37.26, -52.64)
CIE-LCHlch(31.09, 64.49, 305.29°)
OKLaboklab(42.19% 0.0501 -0.1508)
OKLCHoklch(42.19% 0.159 288.4)
XYZxyz(10.5451, 6.6919, 32.6278)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E369D #859D36
analogous
#36529D #4E369D #82369D
triadic
#4E369D #9D4E36 #369D4E
tetradic
#4E369D #9D3652 #859D36 #369D82
square
#4E369D #9D3652 #859D36 #369D82
split-complementary
#4E369D #9D8236 #529D36
monochromatic
#211742 #37266F #4E369D #694EC2 #907CD2

Accessibility & contrast

On white

8.98
#4E369D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4E369D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E369D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E369D#FFFFFF#000000##FFFFFF
##4E369D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e369d;
/* rgb */ color: rgb(78, 54, 157);
/* oklch */ color: oklch(42.2% 0.159 288.4);
Tailwind
colors: {
  custom: {
    50: '#876ebb',
    500: '#4e369d',
    950: '#000000',
  },
}
SCSS
$custom: #4e369d;
$custom-light: #876ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e369d",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 157
  },
  "hsl": {
    "h": 253.981,
    "s": 48.815,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42194,
    "c": 0.15894,
    "h": 288.4
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#4E369D
secondary
#AABB74
accent
#D84FB8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E369D

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

Preview Lab → · Contrast checker → · Palette generator →

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