#4E3A85#4E3A85

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

Color values

HEX#4E3A85
RGBrgb(78, 58, 133)
HSLhsl(256, 39%, 37%)
HSVhsv(256, 56%, 52%)
CMYKcmyk(41.4%, 56.4%, 0%, 47.8%)
CIE-LABlab(30.25, 27.58, -39.26)
CIE-LCHlch(30.25, 47.98, 305.08°)
OKLaboklab(41.02% 0.0463 -0.1115)
OKLCHoklch(41.02% 0.121 292.6)
XYZxyz(8.8874, 6.3390, 22.9411)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3A85 #71853A
analogous
#3A4C85 #4E3A85 #743A85
triadic
#4E3A85 #854E3A #3A854E
tetradic
#4E3A85 #853A4C #71853A #3A8574
square
#4E3A85 #853A4C #71853A #3A8574
split-complementary
#4E3A85 #85743A #4C853A
monochromatic
#1C1530 #35275A #4E3A85 #674DB0 #8B76C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E3A85#FFFFFF#000000##FFFFFF
##4E3A851.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)
#164888
Deuteranopia (green-blind)
#1B4683
Tritanopia (blue-blind)
#3F4A59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e3a85;
/* rgb */ color: rgb(78, 58, 133);
/* oklch */ color: oklch(41.0% 0.121 292.6);
Tailwind
colors: {
  custom: {
    50: '#8371a9',
    500: '#4e3a85',
    950: '#000000',
  },
}
SCSS
$custom: #4e3a85;
$custom-light: #8371a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3a85",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 256,
    "s": 39.267,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41016,
    "c": 0.12075,
    "h": 292.6
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#4E3A85
secondary
#9CAD6E
accent
#CF59B0
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3A85

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

Preview Lab → · Contrast checker → · Palette generator →

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