#4E3D89#4E3D89

#4E3D89 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 41.9% C 0.122 H 290.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#4E3D89
RGBrgb(78, 61, 137)
HSLhsl(253, 38%, 39%)
HSVhsv(253, 55%, 54%)
CMYKcmyk(43.1%, 55.5%, 0%, 46.3%)
CIE-LABlab(31.26, 26.89, -40.12)
CIE-LCHlch(31.26, 48.30, 303.83°)
OKLaboklab(41.85% 0.0425 -0.114)
OKLCHoklch(41.85% 0.122 290.5)
XYZxyz(9.3247, 6.7630, 24.4762)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3D89 #78893D
analogous
#3D5289 #4E3D89 #743D89
triadic
#4E3D89 #894E3D #3D894E
tetradic
#4E3D89 #893D52 #78893D #3D8974
square
#4E3D89 #893D52 #78893D #3D8974
split-complementary
#4E3D89 #89743D #52893D
monochromatic
#1E1734 #362A5F #4E3D89 #6751B2 #8C7CC5

Accessibility & contrast

On white

8.93
#4E3D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4E3D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3D89
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3D89#FFFFFF#000000##FFFFFF
##4E3D891.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8C
Deuteranopia (green-blind)
#1B4887
Tritanopia (blue-blind)
#3D4D5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e3d89;
/* rgb */ color: rgb(78, 61, 137);
/* oklch */ color: oklch(41.9% 0.122 290.5);
Tailwind
colors: {
  custom: {
    50: '#8373ac',
    500: '#4e3d89',
    950: '#000000',
  },
}
SCSS
$custom: #4e3d89;
$custom-light: #8373ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3d89",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 253.421,
    "s": 38.384,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4185,
    "c": 0.12171,
    "h": 290.5
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#4E3D89
secondary
#A1AE73
accent
#CE59B4
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E3D89

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

Preview Lab → · Contrast checker → · Palette generator →

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