#4E3AB1#4E3AB1

#4E3AB1 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.5% C 0.180 H 284.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4E3AB1
RGBrgb(78, 58, 177)
HSLhsl(250, 51%, 46%)
HSVhsv(250, 67%, 69%)
CMYKcmyk(55.9%, 67.2%, 0%, 30.6%)
CIE-LABlab(33.60, 41.06, -60.56)
CIE-LCHlch(33.60, 73.17, 304.13°)
OKLaboklab(44.52% 0.0436 -0.1741)
OKLCHoklch(44.52% 0.18 284.1)
XYZxyz(12.5883, 7.8194, 42.4324)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AB1 #9DB13A
analogous
#3A61B1 #4E3AB1 #893AB1
triadic
#4E3AB1 #B14E3A #3AB14E
tetradic
#4E3AB1 #B13A61 #9DB13A #3AB189
square
#4E3AB1 #B13A61 #9DB13A #3AB189
split-complementary
#4E3AB1 #B1893A #61B13A
monochromatic
#251C55 #3A2B83 #4E3AB1 #705ECA #998CD9

Accessibility & contrast

On white

8.19
#4E3AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E3AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AB1
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AB1#FFFFFF#000000##FFFFFF
##4E3AB11.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#1F5870
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3ab1;
/* rgb */ color: rgb(78, 58, 177);
/* oklch */ color: oklch(44.5% 0.180 284.1);
Tailwind
colors: {
  custom: {
    50: '#8972c9',
    500: '#4e3ab1',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ab1;
$custom-light: #8972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ab1",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 250.084,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44519,
    "c": 0.17951,
    "h": 284.1
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

primary
#4E3AB1
secondary
#B9C483
accent
#DA4EC3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4E3AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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