#4E3091#4E3091

#4E3091 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.152 H 292.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4E3091
RGBrgb(78, 48, 145)
HSLhsl(259, 50%, 38%)
HSVhsv(259, 67%, 57%)
CMYKcmyk(46.2%, 66.9%, 0%, 43.1%)
CIE-LABlab(28.84, 37.18, -48.96)
CIE-LCHlch(28.84, 61.48, 307.21°)
OKLaboklab(40.27% 0.058 -0.14)
OKLCHoklch(40.27% 0.152 292.5)
XYZxyz(9.3083, 5.7776, 27.4073)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3091 #739130
analogous
#304291 #4E3091 #7E3091
triadic
#4E3091 #914E30 #30914E
tetradic
#4E3091 #913042 #739130 #30917E
square
#4E3091 #913042 #739130 #30917E
split-complementary
#4E3091 #917E30 #429130
monochromatic
#1D1235 #352163 #4E3091 #673FBF #8B6DCF

Accessibility & contrast

On white

9.74
#4E3091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4E3091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3091
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3091#FFFFFF#000000##FFFFFF
##4E30911.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#3A475C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3091;
/* rgb */ color: rgb(78, 48, 145);
/* oklch */ color: oklch(40.3% 0.152 292.5);
Tailwind
colors: {
  custom: {
    50: '#856ab2',
    500: '#4e3091',
    950: '#000000',
  },
}
SCSS
$custom: #4e3091;
$custom-light: #856ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3091",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 258.557,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40267,
    "c": 0.15155,
    "h": 292.5
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#4E3091
secondary
#9EB667
accent
#DA4EAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E3091

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

Preview Lab → · Contrast checker → · Palette generator →

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