#4E428E#4E428E

#4E428E is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.121 H 287.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4E428E
RGBrgb(78, 66, 142)
HSLhsl(249, 37%, 41%)
HSVhsv(249, 54%, 56%)
CMYKcmyk(45.1%, 53.5%, 0%, 44.3%)
CIE-LABlab(32.85, 25.25, -40.65)
CIE-LCHlch(32.85, 47.85, 301.85°)
OKLaboklab(43.14% 0.0363 -0.1155)
OKLCHoklch(43.14% 0.121 287.4)
XYZxyz(9.9712, 7.4687, 26.5022)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E428E #828E42
analogous
#425C8E #4E428E #74428E
triadic
#4E428E #8E4E42 #428E4E
tetradic
#4E428E #8E425C #828E42 #428E74
square
#4E428E #8E425C #828E42 #428E74
split-complementary
#4E428E #8E7442 #5C8E42
monochromatic
#201B3A #372F64 #4E428E #685BB3 #8F84C6

Accessibility & contrast

On white

8.42
#4E428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E428E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E428E#FFFFFF#000000##FFFFFF
##4E428E1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#3B5261
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e428e;
/* rgb */ color: rgb(78, 66, 142);
/* oklch */ color: oklch(43.1% 0.121 287.4);
Tailwind
colors: {
  custom: {
    50: '#8476af',
    500: '#4e428e',
    950: '#000000',
  },
}
SCSS
$custom: #4e428e;
$custom-light: #8476af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e428e",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 249.474,
    "s": 36.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4314,
    "c": 0.12112,
    "h": 287.4
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E428E

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

Preview Lab → · Contrast checker → · Palette generator →

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