#4E3CAA#4E3CAA

#4E3CAA is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.168 H 284.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4E3CAA
RGBrgb(78, 60, 170)
HSLhsl(250, 48%, 45%)
HSVhsv(250, 65%, 67%)
CMYKcmyk(54.1%, 64.7%, 0%, 33.3%)
CIE-LABlab(33.46, 37.71, -56.62)
CIE-LCHlch(33.46, 68.02, 303.67°)
OKLaboklab(44.24% 0.0426 -0.1625)
OKLCHoklch(44.24% 0.168 284.7)
XYZxyz(12.0113, 7.7530, 38.8860)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3CAA #98AA3C
analogous
#3C61AA #4E3CAA #853CAA
triadic
#4E3CAA #AA4E3C #3CAA4E
tetradic
#4E3CAA #AA3C61 #98AA3C #3CAA85
square
#4E3CAA #AA3C61 #98AA3C #3CAA85
split-complementary
#4E3CAA #AA853C #61AA3C
monochromatic
#241C50 #392C7D #4E3CAA #6E5DC6 #978BD6

Accessibility & contrast

On white

8.23
#4E3CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E3CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3CAA
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3CAA#FFFFFF#000000##FFFFFF
##4E3CAA1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#27576D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3caa;
/* rgb */ color: rgb(78, 60, 170);
/* oklch */ color: oklch(44.2% 0.168 284.7);
Tailwind
colors: {
  custom: {
    50: '#8873c4',
    500: '#4e3caa',
    950: '#000000',
  },
}
SCSS
$custom: #4e3caa;
$custom-light: #8873c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3caa",
  "rgb": {
    "r": 78,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 249.818,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44238,
    "c": 0.16801,
    "h": 284.7
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#4E3CAA
secondary
#B6C081
accent
#D750C1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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