#4E3AC1#4E3AC1

#4E3AC1 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.9% C 0.199 H 281.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#4E3AC1
RGBrgb(78, 58, 193)
HSLhsl(249, 54%, 49%)
HSVhsv(249, 70%, 76%)
CMYKcmyk(59.6%, 69.9%, 0%, 24.3%)
CIE-LABlab(34.99, 45.99, -67.74)
CIE-LCHlch(34.99, 81.87, 304.18°)
OKLaboklab(45.94% 0.0411 -0.1951)
OKLCHoklch(45.94% 0.199 281.9)
XYZxyz(14.2776, 8.4951, 51.3291)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AC1 #ADC13A
analogous
#3A6AC1 #4E3AC1 #923AC1
triadic
#4E3AC1 #C14E3A #3AC14E
tetradic
#4E3AC1 #C13A6A #ADC13A #3AC192
square
#4E3AC1 #C13A6A #ADC13A #3AC192
split-complementary
#4E3AC1 #C1923A #6AC13A
monochromatic
#281E63 #3B2C92 #4E3AC1 #7767D1 #A196DF

Accessibility & contrast

On white

7.78
#4E3AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4E3AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AC1
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AC1#FFFFFF#000000##FFFFFF
##4E3AC11.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3ac1;
/* rgb */ color: rgb(78, 58, 193);
/* oklch */ color: oklch(45.9% 0.199 281.9);
Tailwind
colors: {
  custom: {
    50: '#8c72d5',
    500: '#4e3ac1',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ac1;
$custom-light: #8c72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ac1",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 248.889,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45944,
    "c": 0.19943,
    "h": 281.9
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#4E3AC1
secondary
#C2CB8C
accent
#DD4BC7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4E3AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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