#4E429E#4E429E

#4E429E is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.144 H 284.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4E429E
RGBrgb(78, 66, 158)
HSLhsl(248, 41%, 44%)
HSVhsv(248, 58%, 62%)
CMYKcmyk(50.6%, 58.2%, 0%, 38%)
CIE-LABlab(33.95, 30.26, -48.61)
CIE-LCHlch(33.95, 57.26, 301.90°)
OKLaboklab(44.31% 0.0368 -0.139)
OKLCHoklch(44.31% 0.144 284.8)
XYZxyz(11.2598, 7.9842, 33.2889)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E429E #929E42
analogous
#42649E #4E429E #7C429E
triadic
#4E429E #9E4E42 #429E4E
tetradic
#4E429E #9E4264 #929E42 #429E7C
square
#4E429E #9E4264 #929E42 #429E7C
split-complementary
#4E429E #9E7C42 #649E42
monochromatic
#231E48 #393073 #4E429E #6C60BD #948CCF

Accessibility & contrast

On white

8.09
#4E429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E429E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E429E#FFFFFF#000000##FFFFFF
##4E429E1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#315769
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e429e;
/* rgb */ color: rgb(78, 66, 158);
/* oklch */ color: oklch(44.3% 0.144 284.8);
Tailwind
colors: {
  custom: {
    50: '#8677bb',
    500: '#4e429e',
    950: '#000000',
  },
}
SCSS
$custom: #4e429e;
$custom-light: #8677bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e429e",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 247.826,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44307,
    "c": 0.14377,
    "h": 284.8
  },
  "luminance": 0.07985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E429E

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

Preview Lab → · Contrast checker → · Palette generator →

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