#4E3B9B#4E3B9B

#4E3B9B is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.9% C 0.150 H 287.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4E3B9B
RGBrgb(78, 59, 155)
HSLhsl(252, 45%, 42%)
HSVhsv(252, 62%, 61%)
CMYKcmyk(49.7%, 61.9%, 0%, 39.2%)
CIE-LABlab(32.06, 33.65, -49.85)
CIE-LCHlch(32.06, 60.15, 304.02°)
OKLaboklab(42.85% 0.0448 -0.1426)
OKLCHoklch(42.85% 0.15 287.4)
XYZxyz(10.6205, 7.1137, 31.8175)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3B9B #889B3B
analogous
#3B589B #4E3B9B #7E3B9B
triadic
#4E3B9B #9B4E3B #3B9B4E
tetradic
#4E3B9B #9B3B58 #889B3B #3B9B7E
square
#4E3B9B #9B3B58 #889B3B #3B9B7E
split-complementary
#4E3B9B #9B7E3B #589B3B
monochromatic
#211942 #382A6F #4E3B9B #6A55BE #9181CF

Accessibility & contrast

On white

8.67
#4E3B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E3B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3B9B
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3B9B#FFFFFF#000000##FFFFFF
##4E3B9B1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#335165
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e3b9b;
/* rgb */ color: rgb(78, 59, 155);
/* oklch */ color: oklch(42.9% 0.150 287.4);
Tailwind
colors: {
  custom: {
    50: '#8672b9',
    500: '#4e3b9b',
    950: '#000000',
  },
}
SCSS
$custom: #4e3b9b;
$custom-light: #8672b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3b9b",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 155
  },
  "hsl": {
    "h": 251.875,
    "s": 44.86,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42851,
    "c": 0.14951,
    "h": 287.4
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

primary
#4E3B9B
secondary
#ACB979
accent
#D553BB
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4E3B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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