#4E3890#4E3890

#4E3890 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.5% C 0.139 H 290.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4E3890
RGBrgb(78, 56, 144)
HSLhsl(255, 44%, 39%)
HSVhsv(255, 61%, 56%)
CMYKcmyk(45.8%, 61.1%, 0%, 43.5%)
CIE-LABlab(30.55, 32.12, -45.59)
CIE-LCHlch(30.55, 55.77, 305.17°)
OKLaboklab(41.48% 0.0488 -0.1301)
OKLCHoklch(41.48% 0.139 290.6)
XYZxyz(9.5887, 6.4613, 27.1221)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3890 #7A9038
analogous
#384E90 #4E3890 #7A3890
triadic
#4E3890 #904E38 #38904E
tetradic
#4E3890 #90384E #7A9038 #38907A
square
#4E3890 #90384E #7A9038 #38907A
split-complementary
#4E3890 #907A38 #4E9038
monochromatic
#1E1638 #362764 #4E3890 #674CB9 #8D78CA

Accessibility & contrast

On white

9.16
#4E3890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4E3890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3890
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3890#FFFFFF#000000##FFFFFF
##4E38901.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#3A4C5E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3890;
/* rgb */ color: rgb(78, 56, 144);
/* oklch */ color: oklch(41.5% 0.139 290.6);
Tailwind
colors: {
  custom: {
    50: '#856fb1',
    500: '#4e3890',
    950: '#000000',
  },
}
SCSS
$custom: #4e3890;
$custom-light: #856fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3890",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 144
  },
  "hsl": {
    "h": 255,
    "s": 44,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41481,
    "c": 0.13896,
    "h": 290.6
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#4E3890
secondary
#A3B470
accent
#D454B4
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E3890

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

Preview Lab → · Contrast checker → · Palette generator →

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