#4E3590#4E3590

#4E3590 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.0% C 0.143 H 291.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4E3590
RGBrgb(78, 53, 144)
HSLhsl(256, 46%, 39%)
HSVhsv(256, 63%, 56%)
CMYKcmyk(45.8%, 63.2%, 0%, 43.5%)
CIE-LABlab(29.86, 33.94, -46.70)
CIE-LCHlch(29.86, 57.73, 306.01°)
OKLaboklab(40.98% 0.0524 -0.1334)
OKLCHoklch(40.98% 0.143 291.4)
XYZxyz(9.4476, 6.1792, 27.0751)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3590 #779035
analogous
#354990 #4E3590 #7B3590
triadic
#4E3590 #904E35 #35904E
tetradic
#4E3590 #903549 #779035 #35907B
square
#4E3590 #903549 #779035 #35907B
split-complementary
#4E3590 #907B35 #499035
monochromatic
#1E1437 #362563 #4E3590 #6747BB #8C74CC

Accessibility & contrast

On white

9.39
#4E3590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E3590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3590
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3590#FFFFFF#000000##FFFFFF
##4E35901.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#3B4A5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e3590;
/* rgb */ color: rgb(78, 53, 144);
/* oklch */ color: oklch(41.0% 0.143 291.4);
Tailwind
colors: {
  custom: {
    50: '#856db1',
    500: '#4e3590',
    950: '#000000',
  },
}
SCSS
$custom: #4e3590;
$custom-light: #856db1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3590",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 144
  },
  "hsl": {
    "h": 256.484,
    "s": 46.193,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40979,
    "c": 0.14329,
    "h": 291.4
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#4E3590
secondary
#A1B46D
accent
#D652B2
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E3590

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

Preview Lab → · Contrast checker → · Palette generator →

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