#4E3BA2#4E3BA2

#4E3BA2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.4% C 0.159 H 286.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4E3BA2
RGBrgb(78, 59, 162)
HSLhsl(251, 47%, 43%)
HSVhsv(251, 64%, 64%)
CMYKcmyk(51.9%, 63.6%, 0%, 36.5%)
CIE-LABlab(32.60, 35.82, -53.21)
CIE-LCHlch(32.60, 64.14, 303.95°)
OKLaboklab(43.41% 0.0443 -0.1525)
OKLCHoklch(43.41% 0.159 286.2)
XYZxyz(11.2255, 7.3557, 35.0037)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3BA2 #8FA23B
analogous
#3B5BA2 #4E3BA2 #813BA2
triadic
#4E3BA2 #A24E3B #3BA24E
tetradic
#4E3BA2 #A23B5B #8FA23B #3BA281
square
#4E3BA2 #A23B5B #8FA23B #3BA281
split-complementary
#4E3BA2 #A2813B #5BA23B
monochromatic
#231A48 #382B75 #4E3BA2 #6C58C2 #9385D3

Accessibility & contrast

On white

8.50
#4E3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E3BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3BA2
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3BA2#FFFFFF#000000##FFFFFF
##4E3BA21.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#2E5469
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e3ba2;
/* rgb */ color: rgb(78, 59, 162);
/* oklch */ color: oklch(43.4% 0.159 286.2);
Tailwind
colors: {
  custom: {
    50: '#8772be',
    500: '#4e3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ba2;
$custom-light: #8772be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ba2",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 251.068,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43414,
    "c": 0.15883,
    "h": 286.2
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#4E3BA2
secondary
#B1BD7C
accent
#D652BE
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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