#4E409E#4E409E

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

Color values

HEX#4E409E
RGBrgb(78, 64, 158)
HSLhsl(249, 42%, 44%)
HSVhsv(249, 59%, 62%)
CMYKcmyk(50.6%, 59.5%, 0%, 38%)
CIE-LABlab(33.47, 31.51, -49.40)
CIE-LCHlch(33.47, 58.59, 302.53°)
OKLaboklab(43.95% 0.0391 -0.1413)
OKLCHoklch(43.95% 0.147 285.5)
XYZxyz(11.1450, 7.7546, 33.2507)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E409E #909E40
analogous
#40619E #4E409E #7D409E
triadic
#4E409E #9E4E40 #409E4E
tetradic
#4E409E #9E4061 #909E40 #409E7D
square
#4E409E #9E4061 #909E40 #409E7D
split-complementary
#4E409E #9E7D40 #619E40
monochromatic
#231D47 #382E72 #4E409E #6C5EBE #9489CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E409E#FFFFFF#000000##FFFFFF
##4E409E1.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)
#0051A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#315668
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e409e;
/* rgb */ color: rgb(78, 64, 158);
/* oklch */ color: oklch(44.0% 0.147 285.5);
Tailwind
colors: {
  custom: {
    50: '#8675bb',
    500: '#4e409e',
    950: '#000000',
  },
}
SCSS
$custom: #4e409e;
$custom-light: #8675bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e409e",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 248.936,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4395,
    "c": 0.14659,
    "h": 285.5
  },
  "luminance": 0.07755
}

Semantic roles & 50–950 ramp

primary
#4E409E
secondary
#B1BA80
accent
#D256C0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E409E

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

Preview Lab → · Contrast checker → · Palette generator →

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