#4E369B#4E369B

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

Color values

HEX#4E369B
RGBrgb(78, 54, 155)
HSLhsl(254, 48%, 41%)
HSVhsv(254, 65%, 61%)
CMYKcmyk(49.7%, 65.2%, 0%, 39.2%)
CIE-LABlab(30.94, 36.65, -51.68)
CIE-LCHlch(30.94, 63.36, 305.35°)
OKLaboklab(42.03% 0.0503 -0.148)
OKLCHoklch(42.03% 0.156 288.8)
XYZxyz(10.3757, 6.6242, 31.7359)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E369B #839B36
analogous
#36519B #4E369B #80369B
triadic
#4E369B #9B4E36 #369B4E
tetradic
#4E369B #9B3651 #839B36 #369B80
square
#4E369B #9B3651 #839B36 #369B80
split-complementary
#4E369B #9B8036 #519B36
monochromatic
#201640 #37266E #4E369B #694DC1 #8F7BD1

Accessibility & contrast

On white

9.03
#4E369B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4E369B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E369B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E369B#FFFFFF#000000##FFFFFF
##4E369B1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#344E63
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e369b;
/* rgb */ color: rgb(78, 54, 155);
/* oklch */ color: oklch(42.0% 0.156 288.8);
Tailwind
colors: {
  custom: {
    50: '#866eb9',
    500: '#4e369b',
    950: '#000000',
  },
}
SCSS
$custom: #4e369b;
$custom-light: #866eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e369b",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 155
  },
  "hsl": {
    "h": 254.257,
    "s": 48.325,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42029,
    "c": 0.15634,
    "h": 288.8
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#4E369B
secondary
#A9BA73
accent
#D850B8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E369B

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

Preview Lab → · Contrast checker → · Palette generator →

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