#4E409F#4E409F

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

Color values

HEX#4E409F
RGBrgb(78, 64, 159)
HSLhsl(249, 43%, 44%)
HSVhsv(249, 60%, 62%)
CMYKcmyk(50.9%, 59.7%, 0%, 37.6%)
CIE-LABlab(33.54, 31.83, -49.88)
CIE-LCHlch(33.54, 59.17, 302.54°)
OKLaboklab(44.03% 0.0391 -0.1427)
OKLCHoklch(44.03% 0.148 285.3)
XYZxyz(11.2314, 7.7891, 33.7058)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E409F #919F40
analogous
#40619F #4E409F #7D409F
triadic
#4E409F #9F4E40 #409F4E
tetradic
#4E409F #9F4061 #919F40 #409F7D
square
#4E409F #9F4061 #919F40 #409F7D
split-complementary
#4E409F #9F7D40 #619F40
monochromatic
#231D48 #392E73 #4E409F #6C5EBE #948AD0

Accessibility & contrast

On white

8.21
#4E409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E409F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E409F#FFFFFF#000000##FFFFFF
##4E409F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#305669
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e409f;
/* rgb */ color: rgb(78, 64, 159);
/* oklch */ color: oklch(44.0% 0.148 285.3);
Tailwind
colors: {
  custom: {
    50: '#8675bc',
    500: '#4e409f',
    950: '#000000',
  },
}
SCSS
$custom: #4e409f;
$custom-light: #8675bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e409f",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 248.842,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44027,
    "c": 0.14796,
    "h": 285.3
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#4E409F
secondary
#B2BB80
accent
#D255C0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E409F

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

Preview Lab → · Contrast checker → · Palette generator →

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