#4E3388#4E3388

#4E3388 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.0% C 0.136 H 294.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4E3388
RGBrgb(78, 51, 136)
HSLhsl(259, 45%, 37%)
HSVhsv(259, 63%, 53%)
CMYKcmyk(42.6%, 62.5%, 0%, 46.7%)
CIE-LABlab(28.81, 32.78, -43.45)
CIE-LCHlch(28.81, 54.43, 307.03°)
OKLaboklab(40.02% 0.0553 -0.1238)
OKLCHoklch(40.02% 0.136 294)
XYZxyz(8.7685, 5.7647, 23.9385)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3388 #6D8833
analogous
#334388 #4E3388 #793388
triadic
#4E3388 #884E33 #33884E
tetradic
#4E3388 #883343 #6D8833 #338879
square
#4E3388 #883343 #6D8833 #338879
split-complementary
#4E3388 #887933 #438833
monochromatic
#1B122F #34225B #4E3388 #6844B5 #8A6DC8

Accessibility & contrast

On white

9.75
#4E3388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3388
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3388#FFFFFF#000000##FFFFFF
##4E33881.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e3388;
/* rgb */ color: rgb(78, 51, 136);
/* oklch */ color: oklch(40.0% 0.136 294.0);
Tailwind
colors: {
  custom: {
    50: '#846cab',
    500: '#4e3388',
    950: '#000000',
  },
}
SCSS
$custom: #4e3388;
$custom-light: #846cab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3388",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 259.059,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40024,
    "c": 0.13559,
    "h": 294
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#4E3388
secondary
#99B067
accent
#D553AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3388

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

Preview Lab → · Contrast checker → · Palette generator →

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