#4E3589#4E3589

#4E3589 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.4% C 0.134 H 293.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#4E3589
RGBrgb(78, 53, 137)
HSLhsl(258, 44%, 37%)
HSVhsv(258, 61%, 54%)
CMYKcmyk(43.1%, 61.3%, 0%, 46.3%)
CIE-LABlab(29.34, 31.86, -43.21)
CIE-LCHlch(29.34, 53.69, 306.40°)
OKLaboklab(40.44% 0.0527 -0.1231)
OKLCHoklch(40.44% 0.134 293.2)
XYZxyz(8.9291, 5.9718, 24.3443)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3589 #708935
analogous
#354689 #4E3589 #783589
triadic
#4E3589 #894E35 #35894E
tetradic
#4E3589 #893546 #708935 #358978
square
#4E3589 #893546 #708935 #358978
split-complementary
#4E3589 #897835 #468935
monochromatic
#1C1331 #35245D #4E3589 #6746B5 #8B71C8

Accessibility & contrast

On white

9.57
#4E3589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4E3589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3589
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3589#FFFFFF#000000##FFFFFF
##4E35891.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#054487
Tritanopia (blue-blind)
#3E4859
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3589;
/* rgb */ color: rgb(78, 53, 137);
/* oklch */ color: oklch(40.4% 0.134 293.2);
Tailwind
colors: {
  custom: {
    50: '#846dac',
    500: '#4e3589',
    950: '#000000',
  },
}
SCSS
$custom: #4e3589;
$custom-light: #846dac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3589",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 137
  },
  "hsl": {
    "h": 257.857,
    "s": 44.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40435,
    "c": 0.13395,
    "h": 293.2
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#4E3589
secondary
#9BB06A
accent
#D454AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3589

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

Preview Lab → · Contrast checker → · Palette generator →

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