#4E3689#4E3689

#4E3689 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.6% C 0.132 H 292.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4E3689
RGBrgb(78, 54, 137)
HSLhsl(257, 43%, 37%)
HSVhsv(257, 61%, 54%)
CMYKcmyk(43.1%, 60.6%, 0%, 46.3%)
CIE-LABlab(29.57, 31.25, -42.84)
CIE-LCHlch(29.57, 53.03, 306.11°)
OKLaboklab(40.61% 0.0515 -0.122)
OKLCHoklch(40.61% 0.132 292.9)
XYZxyz(8.9752, 6.0639, 24.3596)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3689 #718936
analogous
#364889 #4E3689 #773689
triadic
#4E3689 #894E36 #36894E
tetradic
#4E3689 #893648 #718936 #368977
square
#4E3689 #893648 #718936 #368977
split-complementary
#4E3689 #897736 #488936
monochromatic
#1C1331 #35255D #4E3689 #6747B5 #8B72C7

Accessibility & contrast

On white

9.49
#4E3689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4E3689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3689
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3689#FFFFFF#000000##FFFFFF
##4E36891.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#094487
Tritanopia (blue-blind)
#3E485A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e3689;
/* rgb */ color: rgb(78, 54, 137);
/* oklch */ color: oklch(40.6% 0.132 292.9);
Tailwind
colors: {
  custom: {
    50: '#846eac',
    500: '#4e3689',
    950: '#000000',
  },
}
SCSS
$custom: #4e3689;
$custom-light: #846eac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3689",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 137
  },
  "hsl": {
    "h": 257.349,
    "s": 43.455,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40605,
    "c": 0.13245,
    "h": 292.9
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#4E3689
secondary
#9CB06B
accent
#D355AF
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3689

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

Preview Lab → · Contrast checker → · Palette generator →

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