#4E3BAB#4E3BAB

#4E3BAB is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.2% C 0.171 H 284.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4E3BAB
RGBrgb(78, 59, 171)
HSLhsl(250, 49%, 45%)
HSVhsv(250, 65%, 67%)
CMYKcmyk(54.4%, 65.5%, 0%, 32.9%)
CIE-LABlab(33.32, 38.61, -57.44)
CIE-LCHlch(33.32, 69.21, 303.91°)
OKLaboklab(44.16% 0.0435 -0.165)
OKLCHoklch(44.16% 0.171 284.8)
XYZxyz(12.0543, 7.6872, 39.3688)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3BAB #98AB3B
analogous
#3B60AB #4E3BAB #863BAB
triadic
#4E3BAB #AB4E3B #3BAB4E
tetradic
#4E3BAB #AB3B60 #98AB3B #3BAB86
square
#4E3BAB #AB3B60 #98AB3B #3BAB86
split-complementary
#4E3BAB #AB863B #60AB3B
monochromatic
#241C50 #392B7D #4E3BAB #6E5CC7 #978AD7

Accessibility & contrast

On white

8.28
#4E3BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E3BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3BAB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3BAB#FFFFFF#000000##FFFFFF
##4E3BAB1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#26576D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e3bab;
/* rgb */ color: rgb(78, 59, 171);
/* oklch */ color: oklch(44.2% 0.171 284.8);
Tailwind
colors: {
  custom: {
    50: '#8872c5',
    500: '#4e3bab',
    950: '#000000',
  },
}
SCSS
$custom: #4e3bab;
$custom-light: #8872c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3bab",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 250.179,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.17059,
    "h": 284.8
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#4E3BAB
secondary
#B6C181
accent
#D850C1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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