#4E3892#4E3892

#4E3892 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.6% C 0.142 H 290.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4E3892
RGBrgb(78, 56, 146)
HSLhsl(255, 45%, 40%)
HSVhsv(255, 62%, 57%)
CMYKcmyk(46.6%, 61.6%, 0%, 42.7%)
CIE-LABlab(30.70, 32.73, -46.57)
CIE-LCHlch(30.70, 56.92, 305.10°)
OKLaboklab(41.64% 0.0487 -0.133)
OKLCHoklch(41.64% 0.142 290.1)
XYZxyz(9.7429, 6.5230, 27.9343)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3892 #7C9238
analogous
#384F92 #4E3892 #7B3892
triadic
#4E3892 #924E38 #38924E
tetradic
#4E3892 #92384F #7C9238 #38927B
square
#4E3892 #92384F #7C9238 #38927B
split-complementary
#4E3892 #927B38 #4F9238
monochromatic
#1F163A #362766 #4E3892 #684DBB #8D79CC

Accessibility & contrast

On white

9.11
#4E3892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E3892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3892
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3892#FFFFFF#000000##FFFFFF
##4E38921.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#394D5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3892;
/* rgb */ color: rgb(78, 56, 146);
/* oklch */ color: oklch(41.6% 0.142 290.1);
Tailwind
colors: {
  custom: {
    50: '#856fb3',
    500: '#4e3892',
    950: '#000000',
  },
}
SCSS
$custom: #4e3892;
$custom-light: #856fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3892",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 254.667,
    "s": 44.554,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41636,
    "c": 0.14166,
    "h": 290.1
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#4E3892
secondary
#A4B571
accent
#D454B5
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E3892

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

Preview Lab → · Contrast checker → · Palette generator →

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