#4E3692#4E3692

#4E3692 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.145 H 290.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4E3692
RGBrgb(78, 54, 146)
HSLhsl(256, 46%, 39%)
HSVhsv(256, 63%, 57%)
CMYKcmyk(46.6%, 63%, 0%, 42.7%)
CIE-LABlab(30.24, 33.94, -47.32)
CIE-LCHlch(30.24, 58.23, 305.65°)
OKLaboklab(41.3% 0.0511 -0.1352)
OKLCHoklch(41.3% 0.145 290.7)
XYZxyz(9.6479, 6.3330, 27.9026)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3692 #7A9236
analogous
#364C92 #4E3692 #7C3692
triadic
#4E3692 #924E36 #36924E
tetradic
#4E3692 #92364C #7A9236 #36927C
square
#4E3692 #92364C #7A9236 #36927C
split-complementary
#4E3692 #927C36 #4C9236
monochromatic
#1E1539 #362565 #4E3692 #6749BC #8D76CC

Accessibility & contrast

On white

9.26
#4E3692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4E3692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3692
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3692#FFFFFF#000000##FFFFFF
##4E36921.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#394B5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e3692;
/* rgb */ color: rgb(78, 54, 146);
/* oklch */ color: oklch(41.3% 0.145 290.7);
Tailwind
colors: {
  custom: {
    50: '#856eb3',
    500: '#4e3692',
    950: '#000000',
  },
}
SCSS
$custom: #4e3692;
$custom-light: #856eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3692",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 146
  },
  "hsl": {
    "h": 255.652,
    "s": 46,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41301,
    "c": 0.14451,
    "h": 290.7
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#4E3692
secondary
#A3B56F
accent
#D652B3
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E3692

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

Preview Lab → · Contrast checker → · Palette generator →

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