#4E428F#4E428F

#4E428F is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.123 H 287.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4E428F
RGBrgb(78, 66, 143)
HSLhsl(249, 37%, 41%)
HSVhsv(249, 54%, 56%)
CMYKcmyk(45.5%, 53.8%, 0%, 43.9%)
CIE-LABlab(32.92, 25.56, -41.16)
CIE-LCHlch(32.92, 48.45, 301.84°)
OKLaboklab(43.21% 0.0364 -0.117)
OKLCHoklch(43.21% 0.123 287.3)
XYZxyz(10.0466, 7.4989, 26.8994)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E428F #838F42
analogous
#425C8F #4E428F #74428F
triadic
#4E428F #8F4E42 #428F4E
tetradic
#4E428F #8F425C #838F42 #428F74
square
#4E428F #8F425C #838F42 #428F74
split-complementary
#4E428F #8F7442 #5C8F42
monochromatic
#201B3B #372F65 #4E428F #695BB3 #8F85C7

Accessibility & contrast

On white

8.40
#4E428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E428F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E428F#FFFFFF#000000##FFFFFF
##4E428F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#1D4B8D
Tritanopia (blue-blind)
#3A5262
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e428f;
/* rgb */ color: rgb(78, 66, 143);
/* oklch */ color: oklch(43.2% 0.123 287.3);
Tailwind
colors: {
  custom: {
    50: '#8476b0',
    500: '#4e428f',
    950: '#000000',
  },
}
SCSS
$custom: #4e428f;
$custom-light: #8476b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e428f",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 249.351,
    "s": 36.842,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4321,
    "c": 0.12257,
    "h": 287.3
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#4E428F
secondary
#A9B17B
accent
#CD5BBB
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E428F

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

Preview Lab → · Contrast checker → · Palette generator →

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