#4E3090#4E3090

#4E3090 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.150 H 292.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#4E3090
RGBrgb(78, 48, 144)
HSLhsl(259, 50%, 38%)
HSVhsv(259, 67%, 56%)
CMYKcmyk(45.8%, 66.7%, 0%, 43.5%)
CIE-LABlab(28.76, 36.88, -48.47)
CIE-LCHlch(28.76, 60.91, 307.27°)
OKLaboklab(40.18% 0.0581 -0.1386)
OKLCHoklch(40.18% 0.15 292.7)
XYZxyz(9.2315, 5.7469, 27.0030)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3090 #729030
analogous
#304290 #4E3090 #7E3090
triadic
#4E3090 #904E30 #30904E
tetradic
#4E3090 #903042 #729030 #30907E
square
#4E3090 #903042 #729030 #30907E
split-complementary
#4E3090 #907E30 #429030
monochromatic
#1C1134 #352162 #4E3090 #673FBE #8B6CCE

Accessibility & contrast

On white

9.77
#4E3090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E3090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3090
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3090#FFFFFF#000000##FFFFFF
##4E30901.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#3B475B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3090;
/* rgb */ color: rgb(78, 48, 144);
/* oklch */ color: oklch(40.2% 0.150 292.7);
Tailwind
colors: {
  custom: {
    50: '#856ab1',
    500: '#4e3090',
    950: '#000000',
  },
}
SCSS
$custom: #4e3090;
$custom-light: #856ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3090",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 144
  },
  "hsl": {
    "h": 258.75,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40184,
    "c": 0.15027,
    "h": 292.7
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#4E3090
secondary
#9DB566
accent
#DA4EAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E3090

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

Preview Lab → · Contrast checker → · Palette generator →

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