#4E3C8E#4E3C8E

#4E3C8E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.0% C 0.130 H 289.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4E3C8E
RGBrgb(78, 60, 142)
HSLhsl(253, 41%, 40%)
HSVhsv(253, 58%, 56%)
CMYKcmyk(45.1%, 57.7%, 0%, 44.3%)
CIE-LABlab(31.36, 29.04, -43.05)
CIE-LCHlch(31.36, 51.93, 304.00°)
OKLaboklab(42.03% 0.044 -0.1226)
OKLCHoklch(42.03% 0.13 289.7)
XYZxyz(9.6389, 6.8041, 26.3914)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3C8E #7C8E3C
analogous
#3C538E #4E3C8E #773C8E
triadic
#4E3C8E #8E4E3C #3C8E4E
tetradic
#4E3C8E #8E3C53 #7C8E3C #3C8E77
square
#4E3C8E #8E3C53 #7C8E3C #3C8E77
split-complementary
#4E3C8E #8E773C #538E3C
monochromatic
#1F1838 #362A63 #4E3C8E #6752B6 #8D7DC8

Accessibility & contrast

On white

8.90
#4E3C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E3C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3C8E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3C8E#FFFFFF#000000##FFFFFF
##4E3C8E1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4B91
Deuteranopia (green-blind)
#10488C
Tritanopia (blue-blind)
#3B4E5F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e3c8e;
/* rgb */ color: rgb(78, 60, 142);
/* oklch */ color: oklch(42.0% 0.130 289.7);
Tailwind
colors: {
  custom: {
    50: '#8472b0',
    500: '#4e3c8e',
    950: '#000000',
  },
}
SCSS
$custom: #4e3c8e;
$custom-light: #8472b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3c8e",
  "rgb": {
    "r": 78,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 253.171,
    "s": 40.594,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.13028,
    "h": 289.7
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#4E3C8E
secondary
#A4B274
accent
#D057B6
background
#F8F6FA
surface
#EFECF5
border
#CAC7CF
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E3C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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