#4E3B95#4E3B95

#4E3B95 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.4% C 0.141 H 288.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4E3B95
RGBrgb(78, 59, 149)
HSLhsl(253, 43%, 41%)
HSVhsv(253, 60%, 58%)
CMYKcmyk(47.7%, 60.4%, 0%, 41.6%)
CIE-LABlab(31.62, 31.81, -46.92)
CIE-LCHlch(31.62, 56.68, 304.13°)
OKLaboklab(42.38% 0.0451 -0.134)
OKLCHoklch(42.38% 0.141 288.6)
XYZxyz(10.1291, 6.9172, 29.2294)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3B95 #82953B
analogous
#3B5595 #4E3B95 #7B3B95
triadic
#4E3B95 #954E3B #3B954E
tetradic
#4E3B95 #953B55 #82953B #3B957B
square
#4E3B95 #953B55 #82953B #3B957B
split-complementary
#4E3B95 #957B3B #55953B
monochromatic
#20183D #372A69 #4E3B95 #6853BB #8F7ECC

Accessibility & contrast

On white

8.81
#4E3B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E3B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3B95
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3B95#FFFFFF#000000##FFFFFF
##4E3B951.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#374F62
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e3b95;
/* rgb */ color: rgb(78, 59, 149);
/* oklch */ color: oklch(42.4% 0.141 288.6);
Tailwind
colors: {
  custom: {
    50: '#8572b5',
    500: '#4e3b95',
    950: '#000000',
  },
}
SCSS
$custom: #4e3b95;
$custom-light: #8572b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3b95",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 252.667,
    "s": 43.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42382,
    "c": 0.1414,
    "h": 288.6
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#4E3B95
secondary
#A8B676
accent
#D355B8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E3B95

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

Preview Lab → · Contrast checker → · Palette generator →

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