#4E3F90#4E3F90

#4E3F90 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.7% C 0.129 H 288.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4E3F90
RGBrgb(78, 63, 144)
HSLhsl(251, 39%, 41%)
HSVhsv(251, 56%, 56%)
CMYKcmyk(45.8%, 56.3%, 0%, 43.5%)
CIE-LABlab(32.23, 27.77, -42.87)
CIE-LCHlch(32.23, 51.08, 302.94°)
OKLaboklab(42.72% 0.0402 -0.1221)
OKLCHoklch(42.72% 0.129 288.2)
XYZxyz(9.9520, 7.1880, 27.2432)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3F90 #81903F
analogous
#3F5890 #4E3F90 #763F90
triadic
#4E3F90 #904E3F #3F904E
tetradic
#4E3F90 #903F58 #81903F #3F9076
square
#4E3F90 #903F58 #81903F #3F9076
split-complementary
#4E3F90 #90763F #58903F
monochromatic
#201A3B #372C65 #4E3F90 #6857B5 #8E81C8

Accessibility & contrast

On white

8.62
#4E3F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E3F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3F90
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3F90#FFFFFF#000000##FFFFFF
##4E3F901.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E93
Deuteranopia (green-blind)
#144A8E
Tritanopia (blue-blind)
#3A5161
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e3f90;
/* rgb */ color: rgb(78, 63, 144);
/* oklch */ color: oklch(42.7% 0.129 288.2);
Tailwind
colors: {
  custom: {
    50: '#8474b1',
    500: '#4e3f90',
    950: '#000000',
  },
}
SCSS
$custom: #4e3f90;
$custom-light: #8474b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3f90",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 251.111,
    "s": 39.13,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42721,
    "c": 0.12856,
    "h": 288.2
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#4E3F90
secondary
#A8B278
accent
#CF59B9
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E3F90

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

Preview Lab → · Contrast checker → · Palette generator →

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