#4E3B92#4E3B92

#4E3B92 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.2% C 0.137 H 289.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#4E3B92
RGBrgb(78, 59, 146)
HSLhsl(253, 42%, 40%)
HSVhsv(253, 60%, 57%)
CMYKcmyk(46.6%, 59.6%, 0%, 42.7%)
CIE-LABlab(31.40, 30.89, -45.44)
CIE-LCHlch(31.40, 54.94, 304.21°)
OKLaboklab(42.15% 0.0452 -0.1297)
OKLCHoklch(42.15% 0.137 289.2)
XYZxyz(9.8927, 6.8226, 27.9842)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3B92 #7F923B
analogous
#3B5492 #4E3B92 #793B92
triadic
#4E3B92 #924E3B #3B924E
tetradic
#4E3B92 #923B54 #7F923B #3B9279
square
#4E3B92 #923B54 #7F923B #3B9279
split-complementary
#4E3B92 #92793B #54923B
monochromatic
#1F183B #372966 #4E3B92 #6851B9 #8E7DCA

Accessibility & contrast

On white

8.88
#4E3B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3B92
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3B92#FFFFFF#000000##FFFFFF
##4E3B921.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#004890
Tritanopia (blue-blind)
#394E60
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e3b92;
/* rgb */ color: rgb(78, 59, 146);
/* oklch */ color: oklch(42.2% 0.137 289.2);
Tailwind
colors: {
  custom: {
    50: '#8572b3',
    500: '#4e3b92',
    950: '#000000',
  },
}
SCSS
$custom: #4e3b92;
$custom-light: #8572b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3b92",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 146
  },
  "hsl": {
    "h": 253.103,
    "s": 42.439,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42152,
    "c": 0.1373,
    "h": 289.2
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#4E3B92
secondary
#A6B475
accent
#D256B7
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E3B92

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

Preview Lab → · Contrast checker → · Palette generator →

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