#4E409A#4E409A

#4E409A is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.141 H 286.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4E409A
RGBrgb(78, 64, 154)
HSLhsl(249, 41%, 43%)
HSVhsv(249, 58%, 60%)
CMYKcmyk(49.4%, 58.4%, 0%, 39.6%)
CIE-LABlab(33.18, 30.25, -47.44)
CIE-LCHlch(33.18, 56.27, 302.53°)
OKLaboklab(43.64% 0.0391 -0.1355)
OKLCHoklch(43.64% 0.141 286.1)
XYZxyz(10.8063, 7.6191, 31.4668)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E409A #8C9A40
analogous
#405F9A #4E409A #7B409A
triadic
#4E409A #9A4E40 #409A4E
tetradic
#4E409A #9A405F #8C9A40 #409A7B
square
#4E409A #9A405F #8C9A40 #409A7B
split-complementary
#4E409A #9A7B40 #5F9A40
monochromatic
#221C44 #382E6F #4E409A #6B5CBB #9287CD

Accessibility & contrast

On white

8.32
#4E409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E409A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E409A
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E409A#FFFFFF#000000##FFFFFF
##4E409A1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#345466
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e409a;
/* rgb */ color: rgb(78, 64, 154);
/* oklch */ color: oklch(43.6% 0.141 286.1);
Tailwind
colors: {
  custom: {
    50: '#8575b8',
    500: '#4e409a',
    950: '#000000',
  },
}
SCSS
$custom: #4e409a;
$custom-light: #8575b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e409a",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 249.333,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43644,
    "c": 0.14108,
    "h": 286.1
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#4E409A
secondary
#AFB87E
accent
#D157BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4E409A

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

Preview Lab → · Contrast checker → · Palette generator →

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