#4E3490#4E3490

#4E3490 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.8% C 0.145 H 291.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#4E3490
RGBrgb(78, 52, 144)
HSLhsl(257, 47%, 38%)
HSVhsv(257, 64%, 56%)
CMYKcmyk(45.8%, 63.9%, 0%, 43.5%)
CIE-LABlab(29.64, 34.54, -47.06)
CIE-LCHlch(29.64, 58.37, 306.27°)
OKLaboklab(40.82% 0.0535 -0.1344)
OKLCHoklch(40.82% 0.145 291.7)
XYZxyz(9.4025, 6.0890, 27.0600)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3490 #769034
analogous
#344890 #4E3490 #7C3490
triadic
#4E3490 #904E34 #34904E
tetradic
#4E3490 #903448 #769034 #34907C
square
#4E3490 #903448 #769034 #34907C
split-complementary
#4E3490 #907C34 #489034
monochromatic
#1D1436 #362463 #4E3490 #6745BC #8C72CC

Accessibility & contrast

On white

9.47
#4E3490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4E3490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3490
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3490#FFFFFF#000000##FFFFFF
##4E34901.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#3B495D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e3490;
/* rgb */ color: rgb(78, 52, 144);
/* oklch */ color: oklch(40.8% 0.145 291.7);
Tailwind
colors: {
  custom: {
    50: '#856db1',
    500: '#4e3490',
    950: '#000000',
  },
}
SCSS
$custom: #4e3490;
$custom-light: #856db1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3490",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 144
  },
  "hsl": {
    "h": 256.957,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40815,
    "c": 0.14471,
    "h": 291.7
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#4E3490
secondary
#A0B46B
accent
#D751B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E3490

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

Preview Lab → · Contrast checker → · Palette generator →

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