#4E3CA0#4E3CA0

#4E3CA0 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.4% C 0.155 H 286.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4E3CA0
RGBrgb(78, 60, 160)
HSLhsl(251, 45%, 43%)
HSVhsv(251, 63%, 63%)
CMYKcmyk(51.2%, 62.5%, 0%, 37.3%)
CIE-LABlab(32.68, 34.59, -51.88)
CIE-LCHlch(32.68, 62.36, 303.69°)
OKLaboklab(43.42% 0.0434 -0.1486)
OKLCHoklch(43.42% 0.155 286.3)
XYZxyz(11.1010, 7.3889, 34.0922)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3CA0 #8EA03C
analogous
#3C5CA0 #4E3CA0 #803CA0
triadic
#4E3CA0 #A04E3C #3CA04E
tetradic
#4E3CA0 #A03C5C #8EA03C #3CA080
square
#4E3CA0 #A03C5C #8EA03C #3CA080
split-complementary
#4E3CA0 #A0803C #5CA03C
monochromatic
#231B47 #382B73 #4E3CA0 #6B59C1 #9385D1

Accessibility & contrast

On white

8.48
#4E3CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E3CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3CA0
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3CA0#FFFFFF#000000##FFFFFF
##4E3CA01.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#305468
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e3ca0;
/* rgb */ color: rgb(78, 60, 160);
/* oklch */ color: oklch(43.4% 0.155 286.3);
Tailwind
colors: {
  custom: {
    50: '#8772bd',
    500: '#4e3ca0',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ca0;
$custom-light: #8772bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ca0",
  "rgb": {
    "r": 78,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 250.8,
    "s": 45.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.15483,
    "h": 286.3
  },
  "luminance": 0.07389
}

Semantic roles & 50–950 ramp

primary
#4E3CA0
secondary
#B0BB7C
accent
#D553BE
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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