#4E3AB2#4E3AB2

#4E3AB2 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.6% C 0.181 H 283.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4E3AB2
RGBrgb(78, 58, 178)
HSLhsl(250, 51%, 46%)
HSVhsv(250, 67%, 70%)
CMYKcmyk(56.2%, 67.4%, 0%, 30.2%)
CIE-LABlab(33.69, 41.37, -61.02)
CIE-LCHlch(33.69, 73.72, 304.13°)
OKLaboklab(44.61% 0.0435 -0.1755)
OKLCHoklch(44.61% 0.181 283.9)
XYZxyz(12.6884, 7.8594, 42.9593)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AB2 #9EB23A
analogous
#3A62B2 #4E3AB2 #8A3AB2
triadic
#4E3AB2 #B24E3A #3AB24E
tetradic
#4E3AB2 #B23A62 #9EB23A #3AB28A
square
#4E3AB2 #B23A62 #9EB23A #3AB28A
split-complementary
#4E3AB2 #B28A3A #62B23A
monochromatic
#261C56 #3A2B84 #4E3AB2 #715FCB #9A8DDA

Accessibility & contrast

On white

8.16
#4E3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E3AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AB2
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AB2#FFFFFF#000000##FFFFFF
##4E3AB21.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#1E5971
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3ab2;
/* rgb */ color: rgb(78, 58, 178);
/* oklch */ color: oklch(44.6% 0.181 283.9);
Tailwind
colors: {
  custom: {
    50: '#8a72ca',
    500: '#4e3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ab2;
$custom-light: #8a72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ab2",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 250,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44606,
    "c": 0.18077,
    "h": 283.9
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#4E3AB2
secondary
#BAC483
accent
#DA4DC3
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4E3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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