#4E3D85#4E3D85

#4E3D85 is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.6% C 0.116 H 291.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#4E3D85
RGBrgb(78, 61, 133)
HSLhsl(254, 37%, 38%)
HSVhsv(254, 54%, 52%)
CMYKcmyk(41.4%, 54.1%, 0%, 47.8%)
CIE-LABlab(31.00, 25.68, -38.07)
CIE-LCHlch(31.00, 45.92, 304.01°)
OKLaboklab(41.57% 0.0423 -0.108)
OKLCHoklch(41.57% 0.116 291.4)
XYZxyz(9.0431, 6.6504, 22.9929)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3D85 #74853D
analogous
#3D5085 #4E3D85 #723D85
triadic
#4E3D85 #854E3D #3D854E
tetradic
#4E3D85 #853D50 #74853D #3D8572
square
#4E3D85 #853D50 #74853D #3D8572
split-complementary
#4E3D85 #85723D #50853D
monochromatic
#1D1731 #352A5B #4E3D85 #6750AF #8B7AC2

Accessibility & contrast

On white

9.01
#4E3D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4E3D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3D85
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3D85#FFFFFF#000000##FFFFFF
##4E3D851.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A87
Deuteranopia (green-blind)
#204783
Tritanopia (blue-blind)
#3F4C5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e3d85;
/* rgb */ color: rgb(78, 61, 133);
/* oklch */ color: oklch(41.6% 0.116 291.4);
Tailwind
colors: {
  custom: {
    50: '#8373a9',
    500: '#4e3d85',
    950: '#000000',
  },
}
SCSS
$custom: #4e3d85;
$custom-light: #8373a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3d85",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 133
  },
  "hsl": {
    "h": 254.167,
    "s": 37.113,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41569,
    "c": 0.116,
    "h": 291.4
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#4E3D85
secondary
#9EAC72
accent
#CD5BB2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E3D85

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

Preview Lab → · Contrast checker → · Palette generator →

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