#4E3C8D#4E3C8D

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

Color values

HEX#4E3C8D
RGBrgb(78, 60, 141)
HSLhsl(253, 40%, 39%)
HSVhsv(253, 57%, 55%)
CMYKcmyk(44.7%, 57.4%, 0%, 44.7%)
CIE-LABlab(31.29, 28.74, -42.55)
CIE-LCHlch(31.29, 51.34, 304.04°)
OKLaboklab(41.96% 0.0439 -0.1212)
OKLCHoklch(41.96% 0.129 289.9)
XYZxyz(9.5641, 6.7742, 25.9978)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3C8D #7B8D3C
analogous
#3C538D #4E3C8D #773C8D
triadic
#4E3C8D #8D4E3C #3C8D4E
tetradic
#4E3C8D #8D3C53 #7B8D3C #3C8D77
square
#4E3C8D #8D3C53 #7B8D3C #3C8D77
split-complementary
#4E3C8D #8D773C #538D3C
monochromatic
#1F1737 #362A62 #4E3C8D #6751B5 #8D7CC7

Accessibility & contrast

On white

8.92
#4E3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3C8D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3C8D#FFFFFF#000000##FFFFFF
##4E3C8D1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4B90
Deuteranopia (green-blind)
#12488B
Tritanopia (blue-blind)
#3C4E5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e3c8d;
/* rgb */ color: rgb(78, 60, 141);
/* oklch */ color: oklch(42.0% 0.129 289.9);
Tailwind
colors: {
  custom: {
    50: '#8472af',
    500: '#4e3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #4e3c8d;
$custom-light: #8472af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3c8d",
  "rgb": {
    "r": 78,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 253.333,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41957,
    "c": 0.12888,
    "h": 289.9
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#4E3C8D
secondary
#A3B174
accent
#D058B5
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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