#4E3380#4E3380

#4E3380 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.4% C 0.125 H 296.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4E3380
RGBrgb(78, 51, 128)
HSLhsl(261, 43%, 35%)
HSVhsv(261, 60%, 50%)
CMYKcmyk(39.1%, 60.2%, 0%, 49.8%)
CIE-LABlab(28.24, 30.45, -39.39)
CIE-LCHlch(28.24, 49.78, 307.71°)
OKLaboklab(39.42% 0.0555 -0.1119)
OKLCHoklch(39.42% 0.125 296.4)
XYZxyz(8.2210, 5.5457, 21.0552)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3380 #658033
analogous
#333E80 #4E3380 #753380
triadic
#4E3380 #804E33 #33804E
tetradic
#4E3380 #80333E #658033 #338075
square
#4E3380 #80333E #658033 #338075
split-complementary
#4E3380 #807533 #3E8033
monochromatic
#191028 #332254 #4E3380 #6944AC #896AC4

Accessibility & contrast

On white

9.96
#4E3380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E3380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3380
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3380#FFFFFF#000000##FFFFFF
##4E33801.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074383
Deuteranopia (green-blind)
#15427E
Tritanopia (blue-blind)
#424354
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3380;
/* rgb */ color: rgb(78, 51, 128);
/* oklch */ color: oklch(39.4% 0.125 296.4);
Tailwind
colors: {
  custom: {
    50: '#836ca5',
    500: '#4e3380',
    950: '#000000',
  },
}
SCSS
$custom: #4e3380;
$custom-light: #836ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3380",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 261.039,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39421,
    "c": 0.12489,
    "h": 296.4
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#4E3380
secondary
#92AB63
accent
#D355A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E3380

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

Preview Lab → · Contrast checker → · Palette generator →

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