#4E3BA8#4E3BA8

#4E3BA8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.9% C 0.167 H 285.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4E3BA8
RGBrgb(78, 59, 168)
HSLhsl(250, 48%, 45%)
HSVhsv(250, 65%, 66%)
CMYKcmyk(53.6%, 64.9%, 0%, 34.1%)
CIE-LABlab(33.08, 37.68, -56.04)
CIE-LCHlch(33.08, 67.53, 303.91°)
OKLaboklab(43.91% 0.0438 -0.1608)
OKLCHoklch(43.91% 0.167 285.2)
XYZxyz(11.7716, 7.5742, 37.8799)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3BA8 #95A83B
analogous
#3B5EA8 #4E3BA8 #853BA8
triadic
#4E3BA8 #A84E3B #3BA84E
tetradic
#4E3BA8 #A83B5E #95A83B #3BA885
square
#4E3BA8 #A83B5E #95A83B #3BA885
split-complementary
#4E3BA8 #A8853B #5EA83B
monochromatic
#241B4D #392B7B #4E3BA8 #6D5BC5 #9688D5

Accessibility & contrast

On white

8.35
#4E3BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E3BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3BA8
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3BA8#FFFFFF#000000##FFFFFF
##4E3BA81.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#29566C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e3ba8;
/* rgb */ color: rgb(78, 59, 168);
/* oklch */ color: oklch(43.9% 0.167 285.2);
Tailwind
colors: {
  custom: {
    50: '#8872c3',
    500: '#4e3ba8',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ba8;
$custom-light: #8872c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ba8",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 250.459,
    "s": 48.018,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43909,
    "c": 0.1667,
    "h": 285.2
  },
  "luminance": 0.07575
}

Semantic roles & 50–950 ramp

primary
#4E3BA8
secondary
#B4C07F
accent
#D850C0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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