#4E3BAA#4E3BAA

#4E3BAA is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.1% C 0.169 H 284.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4E3BAA
RGBrgb(78, 59, 170)
HSLhsl(250, 48%, 45%)
HSVhsv(250, 65%, 67%)
CMYKcmyk(54.1%, 65.3%, 0%, 33.3%)
CIE-LABlab(33.24, 38.30, -56.98)
CIE-LCHlch(33.24, 68.65, 303.91°)
OKLaboklab(44.08% 0.0436 -0.1636)
OKLCHoklch(44.08% 0.169 284.9)
XYZxyz(11.9594, 7.6493, 38.8687)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3BAA #97AA3B
analogous
#3B60AA #4E3BAA #853BAA
triadic
#4E3BAA #AA4E3B #3BAA4E
tetradic
#4E3BAA #AA3B60 #97AA3B #3BAA85
square
#4E3BAA #AA3B60 #97AA3B #3BAA85
split-complementary
#4E3BAA #AA853B #60AA3B
monochromatic
#241B4F #392B7D #4E3BAA #6E5CC6 #9689D6

Accessibility & contrast

On white

8.30
#4E3BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E3BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3BAA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3BAA#FFFFFF#000000##FFFFFF
##4E3BAA1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#27566D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e3baa;
/* rgb */ color: rgb(78, 59, 170);
/* oklch */ color: oklch(44.1% 0.169 284.9);
Tailwind
colors: {
  custom: {
    50: '#8872c4',
    500: '#4e3baa',
    950: '#000000',
  },
}
SCSS
$custom: #4e3baa;
$custom-light: #8872c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3baa",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 250.27,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.16929,
    "h": 284.9
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E3BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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