#4E3A92#4E3A92

#4E3A92 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.0% C 0.139 H 289.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#4E3A92
RGBrgb(78, 58, 146)
HSLhsl(254, 43%, 40%)
HSVhsv(254, 60%, 57%)
CMYKcmyk(46.6%, 60.3%, 0%, 42.7%)
CIE-LABlab(31.16, 31.50, -45.82)
CIE-LCHlch(31.16, 55.60, 304.51°)
OKLaboklab(41.98% 0.0464 -0.1308)
OKLCHoklch(41.98% 0.139 289.5)
XYZxyz(9.8418, 6.7208, 27.9672)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3A92 #7E923A
analogous
#3A5292 #4E3A92 #7A3A92
triadic
#4E3A92 #924E3A #3A924E
tetradic
#4E3A92 #923A52 #7E923A #3A927A
square
#4E3A92 #923A52 #7E923A #3A927A
split-complementary
#4E3A92 #927A3A #52923A
monochromatic
#1F173A #372966 #4E3A92 #6850B9 #8E7CCB

Accessibility & contrast

On white

8.96
#4E3A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4E3A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3A92
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3A92#FFFFFF#000000##FFFFFF
##4E3A921.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#394E60
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e3a92;
/* rgb */ color: rgb(78, 58, 146);
/* oklch */ color: oklch(42.0% 0.139 289.5);
Tailwind
colors: {
  custom: {
    50: '#8571b3',
    500: '#4e3a92',
    950: '#000000',
  },
}
SCSS
$custom: #4e3a92;
$custom-light: #8571b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3a92",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 253.636,
    "s": 43.137,
    "l": 40
  },
  "oklch": {
    "l": 0.41978,
    "c": 0.13875,
    "h": 289.5
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

primary
#4E3A92
secondary
#A6B474
accent
#D355B6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E3A92

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

Preview Lab → · Contrast checker → · Palette generator →

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