#4E3CA7#4E3CA7

#4E3CA7 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.0% C 0.164 H 285.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4E3CA7
RGBrgb(78, 60, 167)
HSLhsl(250, 47%, 45%)
HSVhsv(250, 64%, 65%)
CMYKcmyk(53.3%, 64.1%, 0%, 34.5%)
CIE-LABlab(33.22, 36.77, -55.21)
CIE-LCHlch(33.22, 66.33, 303.67°)
OKLaboklab(43.99% 0.0429 -0.1584)
OKLCHoklch(43.99% 0.164 285.1)
XYZxyz(11.7307, 7.6408, 37.4084)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3CA7 #95A73C
analogous
#3C60A7 #4E3CA7 #833CA7
triadic
#4E3CA7 #A74E3C #3CA74E
tetradic
#4E3CA7 #A73C60 #95A73C #3CA783
square
#4E3CA7 #A73C60 #95A73C #3CA783
split-complementary
#4E3CA7 #A7833C #60A73C
monochromatic
#241C4D #392C7A #4E3CA7 #6D5CC4 #9689D5

Accessibility & contrast

On white

8.31
#4E3CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E3CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3CA7
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3CA7#FFFFFF#000000##FFFFFF
##4E3CA71.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#2A566C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e3ca7;
/* rgb */ color: rgb(78, 60, 167);
/* oklch */ color: oklch(44.0% 0.164 285.1);
Tailwind
colors: {
  custom: {
    50: '#8873c2',
    500: '#4e3ca7',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ca7;
$custom-light: #8873c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ca7",
  "rgb": {
    "r": 78,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 250.093,
    "s": 47.137,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43988,
    "c": 0.16409,
    "h": 285.1
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#4E3CA7
secondary
#B4BF80
accent
#D751C0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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