#4E3595#4E3595

#4E3595 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.150 H 290.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4E3595
RGBrgb(78, 53, 149)
HSLhsl(256, 48%, 40%)
HSVhsv(256, 64%, 58%)
CMYKcmyk(47.7%, 64.4%, 0%, 41.6%)
CIE-LABlab(30.24, 35.44, -49.14)
CIE-LCHlch(30.24, 60.59, 305.79°)
OKLaboklab(41.38% 0.052 -0.1406)
OKLCHoklch(41.38% 0.15 290.3)
XYZxyz(9.8383, 6.3355, 29.1324)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3595 #7C9535
analogous
#354C95 #4E3595 #7E3595
triadic
#4E3595 #954E35 #35954E
tetradic
#4E3595 #95354C #7C9535 #35957E
square
#4E3595 #95354C #7C9535 #35957E
split-complementary
#4E3595 #957E35 #4C9535
monochromatic
#1F153B #362568 #4E3595 #6749BE #8D76CE

Accessibility & contrast

On white

9.26
#4E3595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4E3595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3595
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3595#FFFFFF#000000##FFFFFF
##4E35951.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#384C60
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e3595;
/* rgb */ color: rgb(78, 53, 149);
/* oklch */ color: oklch(41.4% 0.150 290.3);
Tailwind
colors: {
  custom: {
    50: '#866eb5',
    500: '#4e3595',
    950: '#000000',
  },
}
SCSS
$custom: #4e3595;
$custom-light: #866eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3595",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 149
  },
  "hsl": {
    "h": 255.625,
    "s": 47.525,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.14987,
    "h": 290.3
  },
  "luminance": 0.06336
}

Semantic roles & 50–950 ramp

primary
#4E3595
secondary
#A4B76F
accent
#D751B4
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3595

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

Preview Lab → · Contrast checker → · Palette generator →

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