#4E3588#4E3588

#4E3588 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.4% C 0.133 H 293.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4E3588
RGBrgb(78, 53, 136)
HSLhsl(258, 44%, 37%)
HSVhsv(258, 61%, 53%)
CMYKcmyk(42.6%, 61%, 0%, 46.7%)
CIE-LABlab(29.27, 31.56, -42.71)
CIE-LCHlch(29.27, 53.11, 306.47°)
OKLaboklab(40.36% 0.0528 -0.1216)
OKLCHoklch(40.36% 0.133 293.5)
XYZxyz(8.8577, 5.9433, 23.9682)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3588 #6F8835
analogous
#354688 #4E3588 #773588
triadic
#4E3588 #884E35 #35884E
tetradic
#4E3588 #883546 #6F8835 #358877
square
#4E3588 #883546 #6F8835 #358877
split-complementary
#4E3588 #887735 #468835
monochromatic
#1B1330 #35245C #4E3588 #6746B4 #8A70C7

Accessibility & contrast

On white

9.60
#4E3588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3588
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3588#FFFFFF#000000##FFFFFF
##4E35881.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#084386
Tritanopia (blue-blind)
#3E4759
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3588;
/* rgb */ color: rgb(78, 53, 136);
/* oklch */ color: oklch(40.4% 0.133 293.5);
Tailwind
colors: {
  custom: {
    50: '#846dab',
    500: '#4e3588',
    950: '#000000',
  },
}
SCSS
$custom: #4e3588;
$custom-light: #846dab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3588",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 258.072,
    "s": 43.915,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40359,
    "c": 0.1326,
    "h": 293.5
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#4E3588
secondary
#9AB069
accent
#D454AD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3588

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

Preview Lab → · Contrast checker → · Palette generator →

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