#4E4092#4E4092

#4E4092 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.1% C 0.130 H 287.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4E4092
RGBrgb(78, 64, 146)
HSLhsl(250, 39%, 41%)
HSVhsv(250, 56%, 57%)
CMYKcmyk(46.6%, 56.2%, 0%, 42.7%)
CIE-LABlab(32.62, 27.76, -43.47)
CIE-LCHlch(32.62, 51.58, 302.56°)
OKLaboklab(43.05% 0.039 -0.1239)
OKLCHoklch(43.05% 0.13 287.5)
XYZxyz(10.1621, 7.3614, 28.0740)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4092 #849240
analogous
#405B92 #4E4092 #774092
triadic
#4E4092 #924E40 #40924E
tetradic
#4E4092 #92405B #849240 #409277
square
#4E4092 #92405B #849240 #409277
split-complementary
#4E4092 #927740 #5B9240
monochromatic
#211B3D #372D67 #4E4092 #6959B6 #8F84C9

Accessibility & contrast

On white

8.49
#4E4092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E4092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4092
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4092#FFFFFF#000000##FFFFFF
##4E40921.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134F95
Deuteranopia (green-blind)
#134B90
Tritanopia (blue-blind)
#395262
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4092;
/* rgb */ color: rgb(78, 64, 146);
/* oklch */ color: oklch(43.1% 0.130 287.5);
Tailwind
colors: {
  custom: {
    50: '#8475b2',
    500: '#4e4092',
    950: '#000000',
  },
}
SCSS
$custom: #4e4092;
$custom-light: #8475b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4092",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 146
  },
  "hsl": {
    "h": 250.244,
    "s": 39.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43051,
    "c": 0.12988,
    "h": 287.5
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#4E4092
secondary
#AAB37A
accent
#CF59BB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4092

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

Preview Lab → · Contrast checker → · Palette generator →

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