#4E369E#4E369E

#4E369E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.160 H 288.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4E369E
RGBrgb(78, 54, 158)
HSLhsl(254, 49%, 42%)
HSVhsv(254, 66%, 62%)
CMYKcmyk(50.6%, 65.8%, 0%, 38%)
CIE-LABlab(31.18, 37.56, -53.11)
CIE-LCHlch(31.18, 65.05, 305.27°)
OKLaboklab(42.28% 0.05 -0.1522)
OKLCHoklch(42.28% 0.16 288.2)
XYZxyz(10.6308, 6.7262, 33.0793)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E369E #869E36
analogous
#36529E #4E369E #82369E
triadic
#4E369E #9E4E36 #369E4E
tetradic
#4E369E #9E3652 #869E36 #369E82
square
#4E369E #9E3652 #869E36 #369E82
split-complementary
#4E369E #9E8236 #529E36
monochromatic
#211743 #372670 #4E369E #694FC3 #907CD2

Accessibility & contrast

On white

8.95
#4E369E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4E369E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E369E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E369E#FFFFFF#000000##FFFFFF
##4E369E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#324F65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e369e;
/* rgb */ color: rgb(78, 54, 158);
/* oklch */ color: oklch(42.3% 0.160 288.2);
Tailwind
colors: {
  custom: {
    50: '#876ebb',
    500: '#4e369e',
    950: '#000000',
  },
}
SCSS
$custom: #4e369e;
$custom-light: #876ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e369e",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 253.846,
    "s": 49.057,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42277,
    "c": 0.16023,
    "h": 288.2
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#4E369E
secondary
#ABBB74
accent
#D94FB9
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E369E

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

Preview Lab → · Contrast checker → · Palette generator →

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