#4E3AB0#4E3AB0

#4E3AB0 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.4% C 0.178 H 284.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4E3AB0
RGBrgb(78, 58, 176)
HSLhsl(250, 50%, 46%)
HSVhsv(250, 67%, 69%)
CMYKcmyk(55.7%, 67%, 0%, 31%)
CIE-LABlab(33.52, 40.75, -60.10)
CIE-LCHlch(33.52, 72.61, 304.13°)
OKLaboklab(44.43% 0.0438 -0.1728)
OKLCHoklch(44.43% 0.178 284.2)
XYZxyz(12.4890, 7.7797, 41.9094)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AB0 #9CB03A
analogous
#3A61B0 #4E3AB0 #893AB0
triadic
#4E3AB0 #B04E3A #3AB04E
tetradic
#4E3AB0 #B03A61 #9CB03A #3AB089
square
#4E3AB0 #B03A61 #9CB03A #3AB089
split-complementary
#4E3AB0 #B0893A #61B03A
monochromatic
#251C54 #3A2B82 #4E3AB0 #705DCA #998BD9

Accessibility & contrast

On white

8.22
#4E3AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3AB0
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AB0#FFFFFF#000000##FFFFFF
##4E3AB01.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#205870
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3ab0;
/* rgb */ color: rgb(78, 58, 176);
/* oklch */ color: oklch(44.4% 0.178 284.2);
Tailwind
colors: {
  custom: {
    50: '#8972c9',
    500: '#4e3ab0',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ab0;
$custom-light: #8972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ab0",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 176
  },
  "hsl": {
    "h": 250.169,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44432,
    "c": 0.17824,
    "h": 284.2
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#4E3AB0
secondary
#B8C382
accent
#DA4EC2
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4E3AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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