#4E3BA3#4E3BA3

#4E3BA3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.5% C 0.160 H 286.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4E3BA3
RGBrgb(78, 59, 163)
HSLhsl(251, 47%, 44%)
HSVhsv(251, 64%, 64%)
CMYKcmyk(52.1%, 63.8%, 0%, 36.1%)
CIE-LABlab(32.68, 36.13, -53.68)
CIE-LCHlch(32.68, 64.71, 303.94°)
OKLaboklab(43.5% 0.0442 -0.1539)
OKLCHoklch(43.5% 0.16 286)
XYZxyz(11.3147, 7.3914, 35.4737)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3BA3 #90A33B
analogous
#3B5CA3 #4E3BA3 #823BA3
triadic
#4E3BA3 #A34E3B #3BA34E
tetradic
#4E3BA3 #A33B5C #90A33B #3BA382
square
#4E3BA3 #A33B5C #90A33B #3BA382
split-complementary
#4E3BA3 #A3823B #5CA33B
monochromatic
#231A49 #382B76 #4E3BA3 #6C58C3 #9485D3

Accessibility & contrast

On white

8.47
#4E3BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E3BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3BA3
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3BA3#FFFFFF#000000##FFFFFF
##4E3BA31.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#2E5469
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e3ba3;
/* rgb */ color: rgb(78, 59, 163);
/* oklch */ color: oklch(43.5% 0.160 286.0);
Tailwind
colors: {
  custom: {
    50: '#8772bf',
    500: '#4e3ba3',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ba3;
$custom-light: #8772bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ba3",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 250.962,
    "s": 46.847,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43495,
    "c": 0.16015,
    "h": 286
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#4E3BA3
secondary
#B1BD7D
accent
#D651BE
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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