#4E429D#4E429D

#4E429D is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.142 H 285.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4E429D
RGBrgb(78, 66, 157)
HSLhsl(248, 41%, 44%)
HSVhsv(248, 58%, 62%)
CMYKcmyk(50.3%, 58%, 0%, 38.4%)
CIE-LABlab(33.88, 29.95, -48.12)
CIE-LCHlch(33.88, 56.68, 301.89°)
OKLaboklab(44.23% 0.0368 -0.1375)
OKLCHoklch(44.23% 0.142 285)
XYZxyz(11.1741, 7.9499, 32.8375)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E429D #919D42
analogous
#42639D #4E429D #7B429D
triadic
#4E429D #9D4E42 #429D4E
tetradic
#4E429D #9D4263 #919D42 #429D7B
square
#4E429D #9D4263 #919D42 #429D7B
split-complementary
#4E429D #9D7B42 #639D42
monochromatic
#231E47 #393072 #4E429D #6C60BC #948BCE

Accessibility & contrast

On white

8.11
#4E429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E429D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E429D#FFFFFF#000000##FFFFFF
##4E429D1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#315769
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e429d;
/* rgb */ color: rgb(78, 66, 157);
/* oklch */ color: oklch(44.2% 0.142 285.0);
Tailwind
colors: {
  custom: {
    50: '#8677bb',
    500: '#4e429d',
    950: '#000000',
  },
}
SCSS
$custom: #4e429d;
$custom-light: #8677bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e429d",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 247.912,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44231,
    "c": 0.14238,
    "h": 285
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#4E429D
secondary
#B2B982
accent
#D157C1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E429D

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

Preview Lab → · Contrast checker → · Palette generator →

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