#4E3488#4E3488

#4E3488 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.2% C 0.134 H 293.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#4E3488
RGBrgb(78, 52, 136)
HSLhsl(259, 45%, 37%)
HSVhsv(259, 62%, 53%)
CMYKcmyk(42.6%, 61.8%, 0%, 46.7%)
CIE-LABlab(29.04, 32.17, -43.08)
CIE-LCHlch(29.04, 53.77, 306.75°)
OKLaboklab(40.19% 0.054 -0.1227)
OKLCHoklch(40.19% 0.134 293.8)
XYZxyz(8.8126, 5.8530, 23.9532)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3488 #6E8834
analogous
#344488 #4E3488 #783488
triadic
#4E3488 #884E34 #34884E
tetradic
#4E3488 #883444 #6E8834 #348878
square
#4E3488 #883444 #6E8834 #348878
split-complementary
#4E3488 #887834 #448834
monochromatic
#1B122F #35235C #4E3488 #6745B4 #8A6FC8

Accessibility & contrast

On white

9.67
#4E3488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4E3488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3488
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3488#FFFFFF#000000##FFFFFF
##4E34881.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#054386
Tritanopia (blue-blind)
#3F4759
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3488;
/* rgb */ color: rgb(78, 52, 136);
/* oklch */ color: oklch(40.2% 0.134 293.8);
Tailwind
colors: {
  custom: {
    50: '#846dab',
    500: '#4e3488',
    950: '#000000',
  },
}
SCSS
$custom: #4e3488;
$custom-light: #846dab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3488",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 136
  },
  "hsl": {
    "h": 258.571,
    "s": 44.681,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.1341,
    "h": 293.8
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#4E3488
secondary
#9AB068
accent
#D453AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3488

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

Preview Lab → · Contrast checker → · Palette generator →

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