#4E3BA0#4E3BA0

#4E3BA0 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.3% C 0.156 H 286.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4E3BA0
RGBrgb(78, 59, 160)
HSLhsl(251, 46%, 43%)
HSVhsv(251, 63%, 63%)
CMYKcmyk(51.2%, 63.1%, 0%, 37.3%)
CIE-LABlab(32.45, 35.20, -52.26)
CIE-LCHlch(32.45, 63.00, 303.96°)
OKLaboklab(43.25% 0.0445 -0.1497)
OKLCHoklch(43.25% 0.156 286.6)
XYZxyz(11.0491, 7.2852, 34.0749)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3BA0 #8DA03B
analogous
#3B5AA0 #4E3BA0 #803BA0
triadic
#4E3BA0 #A04E3B #3BA04E
tetradic
#4E3BA0 #A03B5A #8DA03B #3BA080
square
#4E3BA0 #A03B5A #8DA03B #3BA080
split-complementary
#4E3BA0 #A0803B #5AA03B
monochromatic
#221A47 #382B73 #4E3BA0 #6B57C1 #9284D2

Accessibility & contrast

On white

8.55
#4E3BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3BA0
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3BA0#FFFFFF#000000##FFFFFF
##4E3BA01.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#305368
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e3ba0;
/* rgb */ color: rgb(78, 59, 160);
/* oklch */ color: oklch(43.3% 0.156 286.6);
Tailwind
colors: {
  custom: {
    50: '#8772bd',
    500: '#4e3ba0',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ba0;
$custom-light: #8772bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ba0",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 160
  },
  "hsl": {
    "h": 251.287,
    "s": 46.119,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43251,
    "c": 0.15618,
    "h": 286.6
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#4E3BA0
secondary
#AFBC7B
accent
#D652BD
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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