#4E459E#4E459E

#4E459E is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.9% C 0.139 H 283.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4E459E
RGBrgb(78, 69, 158)
HSLhsl(246, 39%, 45%)
HSVhsv(246, 56%, 62%)
CMYKcmyk(50.6%, 56.3%, 0%, 38%)
CIE-LABlab(34.69, 28.38, -47.42)
CIE-LCHlch(34.69, 55.26, 300.90°)
OKLaboklab(44.85% 0.0333 -0.1354)
OKLCHoklch(44.85% 0.139 283.8)
XYZxyz(11.4397, 8.3440, 33.3489)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E459E #959E45
analogous
#45699E #4E459E #7A459E
triadic
#4E459E #9E4E45 #459E4E
tetradic
#4E459E #9E4569 #959E45 #459E7A
square
#4E459E #9E4569 #959E45 #459E7A
split-complementary
#4E459E #9E7A45 #699E45
monochromatic
#242049 #393273 #4E459E #6D65BC #968FCE

Accessibility & contrast

On white

7.87
#4E459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E459E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E459E#FFFFFF#000000##FFFFFF
##4E459E1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D54A1
Deuteranopia (green-blind)
#044F9C
Tritanopia (blue-blind)
#30596A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e459e;
/* rgb */ color: rgb(78, 69, 158);
/* oklch */ color: oklch(44.9% 0.139 283.8);
Tailwind
colors: {
  custom: {
    50: '#8679bb',
    500: '#4e459e',
    950: '#000000',
  },
}
SCSS
$custom: #4e459e;
$custom-light: #8679bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e459e",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 246.067,
    "s": 39.207,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.13949,
    "h": 283.8
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#4E459E
secondary
#B4BA85
accent
#CF59C3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E459E

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

Preview Lab → · Contrast checker → · Palette generator →

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