#4E3192#4E3192

#4E3192 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.151 H 292.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#4E3192
RGBrgb(78, 49, 146)
HSLhsl(258, 50%, 38%)
HSVhsv(258, 66%, 57%)
CMYKcmyk(46.6%, 66.4%, 0%, 42.7%)
CIE-LABlab(29.14, 36.89, -49.10)
CIE-LCHlch(29.14, 61.42, 306.92°)
OKLaboklab(40.5% 0.0567 -0.1404)
OKLCHoklch(40.5% 0.151 292)
XYZxyz(9.4271, 5.8913, 27.8290)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3192 #759231
analogous
#314492 #4E3192 #7E3192
triadic
#4E3192 #924E31 #31924E
tetradic
#4E3192 #923144 #759231 #31927E
square
#4E3192 #923144 #759231 #31927E
split-complementary
#4E3192 #927E31 #449231
monochromatic
#1D1236 #362264 #4E3192 #6741BF #8B6FCF

Accessibility & contrast

On white

9.64
#4E3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3192
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3192#FFFFFF#000000##FFFFFF
##4E31921.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#3A485D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3192;
/* rgb */ color: rgb(78, 49, 146);
/* oklch */ color: oklch(40.5% 0.151 292.0);
Tailwind
colors: {
  custom: {
    50: '#856bb3',
    500: '#4e3192',
    950: '#000000',
  },
}
SCSS
$custom: #4e3192;
$custom-light: #856bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3192",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 257.938,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40503,
    "c": 0.15147,
    "h": 292
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#4E3192
secondary
#9FB669
accent
#D94FB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3192

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

Preview Lab → · Contrast checker → · Palette generator →

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