#4E3FA1#4E3FA1

#4E3FA1 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.152 H 285.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4E3FA1
RGBrgb(78, 63, 161)
HSLhsl(249, 44%, 44%)
HSVhsv(249, 61%, 63%)
CMYKcmyk(51.6%, 60.9%, 0%, 36.9%)
CIE-LABlab(33.45, 33.07, -51.23)
CIE-LCHlch(33.45, 60.98, 302.84°)
OKLaboklab(44.01% 0.0401 -0.1467)
OKLCHoklch(44.01% 0.152 285.3)
XYZxyz(11.3505, 7.7474, 34.6086)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FA1 #92A13F
analogous
#3F61A1 #4E3FA1 #7F3FA1
triadic
#4E3FA1 #A14E3F #3FA14E
tetradic
#4E3FA1 #A13F61 #92A13F #3FA17F
square
#4E3FA1 #A13F61 #92A13F #3FA17F
split-complementary
#4E3FA1 #A17F3F #61A13F
monochromatic
#231D49 #392E75 #4E3FA1 #6C5DC0 #9489D1

Accessibility & contrast

On white

8.24
#4E3FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3FA1
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FA1#FFFFFF#000000##FFFFFF
##4E3FA11.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#2F566A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3fa1;
/* rgb */ color: rgb(78, 63, 161);
/* oklch */ color: oklch(44.0% 0.152 285.3);
Tailwind
colors: {
  custom: {
    50: '#8775be',
    500: '#4e3fa1',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fa1;
$custom-light: #8775be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fa1",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 249.184,
    "s": 43.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44009,
    "c": 0.15207,
    "h": 285.3
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#4E3FA1
secondary
#B3BC80
accent
#D354C0
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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