#4E3891#4E3891

#4E3891 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.6% C 0.140 H 290.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#4E3891
RGBrgb(78, 56, 145)
HSLhsl(255, 44%, 39%)
HSVhsv(255, 61%, 57%)
CMYKcmyk(46.2%, 61.4%, 0%, 43.1%)
CIE-LABlab(30.62, 32.43, -46.08)
CIE-LCHlch(30.62, 56.35, 305.13°)
OKLaboklab(41.56% 0.0488 -0.1316)
OKLCHoklch(41.56% 0.14 290.3)
XYZxyz(9.6655, 6.4920, 27.5264)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3891 #7B9138
analogous
#384F91 #4E3891 #7B3891
triadic
#4E3891 #914E38 #38914E
tetradic
#4E3891 #91384F #7B9138 #38917B
square
#4E3891 #91384F #7B9138 #38917B
split-complementary
#4E3891 #917B38 #4F9138
monochromatic
#1F1639 #362765 #4E3891 #674CBA #8D78CB

Accessibility & contrast

On white

9.14
#4E3891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E3891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3891
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3891#FFFFFF#000000##FFFFFF
##4E38911.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#3A4C5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3891;
/* rgb */ color: rgb(78, 56, 145);
/* oklch */ color: oklch(41.6% 0.140 290.3);
Tailwind
colors: {
  custom: {
    50: '#856fb2',
    500: '#4e3891',
    950: '#000000',
  },
}
SCSS
$custom: #4e3891;
$custom-light: #856fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3891",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 145
  },
  "hsl": {
    "h": 254.831,
    "s": 44.279,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41558,
    "c": 0.14031,
    "h": 290.3
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E3891

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

Preview Lab → · Contrast checker → · Palette generator →

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