#4E429F#4E429F

#4E429F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.145 H 284.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4E429F
RGBrgb(78, 66, 159)
HSLhsl(248, 41%, 44%)
HSVhsv(248, 58%, 62%)
CMYKcmyk(50.9%, 58.5%, 0%, 37.6%)
CIE-LABlab(34.02, 30.58, -49.10)
CIE-LCHlch(34.02, 57.84, 301.91°)
OKLaboklab(44.38% 0.0368 -0.1404)
OKLCHoklch(44.38% 0.145 284.7)
XYZxyz(11.3462, 8.0188, 33.7441)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E429F #939F42
analogous
#42659F #4E429F #7D429F
triadic
#4E429F #9F4E42 #429F4E
tetradic
#4E429F #9F4265 #939F42 #429F7D
square
#4E429F #9F4265 #939F42 #429F7D
split-complementary
#4E429F #9F7D42 #659F42
monochromatic
#241E49 #393074 #4E429F #6D61BD #958CCF

Accessibility & contrast

On white

8.07
#4E429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E429F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E429F#FFFFFF#000000##FFFFFF
##4E429F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#30576A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e429f;
/* rgb */ color: rgb(78, 66, 159);
/* oklch */ color: oklch(44.4% 0.145 284.7);
Tailwind
colors: {
  custom: {
    50: '#8677bc',
    500: '#4e429f',
    950: '#000000',
  },
}
SCSS
$custom: #4e429f;
$custom-light: #8677bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e429f",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 247.742,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44383,
    "c": 0.14515,
    "h": 284.7
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E429F

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

Preview Lab → · Contrast checker → · Palette generator →

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