#4E3BA6#4E3BA6

#4E3BA6 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.164 H 285.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4E3BA6
RGBrgb(78, 59, 166)
HSLhsl(251, 48%, 44%)
HSVhsv(251, 64%, 65%)
CMYKcmyk(53%, 64.5%, 0%, 34.9%)
CIE-LABlab(32.92, 37.06, -55.10)
CIE-LCHlch(32.92, 66.41, 303.92°)
OKLaboklab(43.74% 0.044 -0.1581)
OKLCHoklch(43.74% 0.164 285.5)
XYZxyz(11.5867, 7.5002, 36.9061)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3BA6 #93A63B
analogous
#3B5EA6 #4E3BA6 #843BA6
triadic
#4E3BA6 #A64E3B #3BA64E
tetradic
#4E3BA6 #A63B5E #93A63B #3BA684
square
#4E3BA6 #A63B5E #93A63B #3BA684
split-complementary
#4E3BA6 #A6843B #5EA63B
monochromatic
#241B4C #392B79 #4E3BA6 #6D5AC4 #9587D4

Accessibility & contrast

On white

8.40
#4E3BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E3BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3BA6
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3BA6#FFFFFF#000000##FFFFFF
##4E3BA61.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#2B556B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e3ba6;
/* rgb */ color: rgb(78, 59, 166);
/* oklch */ color: oklch(43.7% 0.164 285.5);
Tailwind
colors: {
  custom: {
    50: '#8872c1',
    500: '#4e3ba6',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ba6;
$custom-light: #8872c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ba6",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 250.654,
    "s": 47.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43743,
    "c": 0.16409,
    "h": 285.5
  },
  "luminance": 0.07501
}

Semantic roles & 50–950 ramp

primary
#4E3BA6
secondary
#B3BF7E
accent
#D751BF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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