#4E3AA3#4E3AA3

#4E3AA3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.3% C 0.161 H 286.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4E3AA3
RGBrgb(78, 58, 163)
HSLhsl(251, 48%, 43%)
HSVhsv(251, 64%, 64%)
CMYKcmyk(52.1%, 64.4%, 0%, 36.1%)
CIE-LABlab(32.46, 36.73, -54.05)
CIE-LCHlch(32.46, 65.35, 304.20°)
OKLaboklab(43.33% 0.0453 -0.155)
OKLCHoklch(43.33% 0.161 286.3)
XYZxyz(11.2638, 7.2896, 35.4567)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AA3 #8FA33A
analogous
#3A5AA3 #4E3AA3 #823AA3
triadic
#4E3AA3 #A34E3A #3AA34E
tetradic
#4E3AA3 #A33A5A #8FA33A #3AA382
square
#4E3AA3 #A33A5A #8FA33A #3AA382
split-complementary
#4E3AA3 #A3823A #5AA33A
monochromatic
#231A49 #382A76 #4E3AA3 #6C57C3 #9384D3

Accessibility & contrast

On white

8.54
#4E3AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E3AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AA3
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AA3#FFFFFF#000000##FFFFFF
##4E3AA31.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#2E5369
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e3aa3;
/* rgb */ color: rgb(78, 58, 163);
/* oklch */ color: oklch(43.3% 0.161 286.3);
Tailwind
colors: {
  custom: {
    50: '#8771bf',
    500: '#4e3aa3',
    950: '#000000',
  },
}
SCSS
$custom: #4e3aa3;
$custom-light: #8771bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3aa3",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 251.429,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43332,
    "c": 0.16147,
    "h": 286.3
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E3AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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