#4E4090#4E4090

#4E4090 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 42.9% C 0.127 H 287.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4E4090
RGBrgb(78, 64, 144)
HSLhsl(251, 38%, 41%)
HSVhsv(251, 56%, 56%)
CMYKcmyk(45.8%, 55.6%, 0%, 43.5%)
CIE-LABlab(32.48, 27.14, -42.47)
CIE-LCHlch(32.48, 50.40, 302.58°)
OKLaboklab(42.91% 0.039 -0.1209)
OKLCHoklch(42.91% 0.127 287.9)
XYZxyz(10.0079, 7.2997, 27.2618)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4090 #829040
analogous
#405A90 #4E4090 #764090
triadic
#4E4090 #904E40 #40904E
tetradic
#4E4090 #90405A #829040 #409076
square
#4E4090 #90405A #829040 #409076
split-complementary
#4E4090 #907640 #5A9040
monochromatic
#201A3B #372D66 #4E4090 #6858B5 #8F83C8

Accessibility & contrast

On white

8.54
#4E4090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E4090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4090
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4090#FFFFFF#000000##FFFFFF
##4E40901.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4090;
/* rgb */ color: rgb(78, 64, 144);
/* oklch */ color: oklch(42.9% 0.127 287.9);
Tailwind
colors: {
  custom: {
    50: '#8475b1',
    500: '#4e4090',
    950: '#000000',
  },
}
SCSS
$custom: #4e4090;
$custom-light: #8475b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4090",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 144
  },
  "hsl": {
    "h": 250.5,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42906,
    "c": 0.12704,
    "h": 287.9
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#4E4090
secondary
#A8B27A
accent
#CE59BA
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4090

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

Preview Lab → · Contrast checker → · Palette generator →

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