#4E3CA5#4E3CA5

#4E3CA5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.8% C 0.161 H 285.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4E3CA5
RGBrgb(78, 60, 165)
HSLhsl(250, 47%, 44%)
HSVhsv(250, 64%, 65%)
CMYKcmyk(52.7%, 63.6%, 0%, 35.3%)
CIE-LABlab(33.07, 36.15, -54.27)
CIE-LCHlch(33.07, 65.20, 303.67°)
OKLaboklab(43.82% 0.043 -0.1556)
OKLCHoklch(43.82% 0.161 285.5)
XYZxyz(11.5472, 7.5674, 36.4422)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3CA5 #93A53C
analogous
#3C5FA5 #4E3CA5 #833CA5
triadic
#4E3CA5 #A54E3C #3CA54E
tetradic
#4E3CA5 #A53C5F #93A53C #3CA583
square
#4E3CA5 #A53C5F #93A53C #3CA583
split-complementary
#4E3CA5 #A5833C #5FA53C
monochromatic
#241B4B #392C78 #4E3CA5 #6D5BC3 #9588D4

Accessibility & contrast

On white

8.35
#4E3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E3CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3CA5
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3CA5#FFFFFF#000000##FFFFFF
##4E3CA51.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#2C556B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e3ca5;
/* rgb */ color: rgb(78, 60, 165);
/* oklch */ color: oklch(43.8% 0.161 285.5);
Tailwind
colors: {
  custom: {
    50: '#8773c0',
    500: '#4e3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ca5;
$custom-light: #8773c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ca5",
  "rgb": {
    "r": 78,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 250.286,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43824,
    "c": 0.16146,
    "h": 285.5
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#4E3CA5
secondary
#B3BE7F
accent
#D651C0
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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