#4E429B#4E429B

#4E429B is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.140 H 285.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4E429B
RGBrgb(78, 66, 155)
HSLhsl(248, 40%, 43%)
HSVhsv(248, 57%, 61%)
CMYKcmyk(49.7%, 57.4%, 0%, 39.2%)
CIE-LABlab(33.74, 29.32, -47.14)
CIE-LCHlch(33.74, 55.52, 301.88°)
OKLaboklab(44.08% 0.0368 -0.1346)
OKLCHoklch(44.08% 0.14 285.3)
XYZxyz(11.0047, 7.8822, 31.9455)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E429B #8F9B42
analogous
#42629B #4E429B #7A429B
triadic
#4E429B #9B4E42 #429B4E
tetradic
#4E429B #9B4262 #8F9B42 #429B7A
square
#4E429B #9B4262 #8F9B42 #429B7A
split-complementary
#4E429B #9B7A42 #629B42
monochromatic
#231D45 #383070 #4E429B #6C5FBB #938ACD

Accessibility & contrast

On white

8.15
#4E429B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E429B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E429B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E429B#FFFFFF#000000##FFFFFF
##4E429B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06529E
Deuteranopia (green-blind)
#004D99
Tritanopia (blue-blind)
#335668
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e429b;
/* rgb */ color: rgb(78, 66, 155);
/* oklch */ color: oklch(44.1% 0.140 285.3);
Tailwind
colors: {
  custom: {
    50: '#8577b9',
    500: '#4e429b',
    950: '#000000',
  },
}
SCSS
$custom: #4e429b;
$custom-light: #8577b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e429b",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 248.09,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44081,
    "c": 0.13959,
    "h": 285.3
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#4E429B
secondary
#B1B881
accent
#D058C0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4E429B

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

Preview Lab → · Contrast checker → · Palette generator →

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