#4E3390#4E3390

#4E3390 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.146 H 292.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#4E3390
RGBrgb(78, 51, 144)
HSLhsl(257, 48%, 38%)
HSVhsv(257, 65%, 56%)
CMYKcmyk(45.8%, 64.6%, 0%, 43.5%)
CIE-LABlab(29.41, 35.13, -47.42)
CIE-LCHlch(29.41, 59.02, 306.53°)
OKLaboklab(40.65% 0.0547 -0.1355)
OKLCHoklch(40.65% 0.146 292)
XYZxyz(9.3584, 6.0007, 27.0453)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3390 #759033
analogous
#334790 #4E3390 #7C3390
triadic
#4E3390 #904E33 #33904E
tetradic
#4E3390 #903347 #759033 #33907C
square
#4E3390 #903347 #759033 #33907C
split-complementary
#4E3390 #907C33 #479033
monochromatic
#1D1336 #362363 #4E3390 #6744BD #8B71CD

Accessibility & contrast

On white

9.54
#4E3390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4E3390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3390
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3390#FFFFFF#000000##FFFFFF
##4E33901.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#3B495C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3390;
/* rgb */ color: rgb(78, 51, 144);
/* oklch */ color: oklch(40.7% 0.146 292.0);
Tailwind
colors: {
  custom: {
    50: '#856cb1',
    500: '#4e3390',
    950: '#000000',
  },
}
SCSS
$custom: #4e3390;
$custom-light: #856cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3390",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 144
  },
  "hsl": {
    "h": 257.419,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.14612,
    "h": 292
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#4E3390
secondary
#9FB56A
accent
#D751B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E3390

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

Preview Lab → · Contrast checker → · Palette generator →

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