#4E419B#4E419B

#4E419B is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.141 H 285.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4E419B
RGBrgb(78, 65, 155)
HSLhsl(249, 41%, 43%)
HSVhsv(249, 58%, 61%)
CMYKcmyk(49.7%, 58.1%, 0%, 39.2%)
CIE-LABlab(33.49, 29.94, -47.54)
CIE-LCHlch(33.49, 56.18, 302.21°)
OKLaboklab(43.9% 0.038 -0.1358)
OKLCHoklch(43.9% 0.141 285.6)
XYZxyz(10.9468, 7.7663, 31.9262)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E419B #8E9B41
analogous
#41619B #4E419B #7B419B
triadic
#4E419B #9B4E41 #419B4E
tetradic
#4E419B #9B4161 #8E9B41 #419B7B
square
#4E419B #9B4161 #8E9B41 #419B7B
split-complementary
#4E419B #9B7B41 #619B41
monochromatic
#231D45 #382F70 #4E419B #6B5EBB #9389CD

Accessibility & contrast

On white

8.22
#4E419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E419B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E419B
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E419B#FFFFFF#000000##FFFFFF
##4E419B1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#335567
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e419b;
/* rgb */ color: rgb(78, 65, 155);
/* oklch */ color: oklch(43.9% 0.141 285.6);
Tailwind
colors: {
  custom: {
    50: '#8676b9',
    500: '#4e419b',
    950: '#000000',
  },
}
SCSS
$custom: #4e419b;
$custom-light: #8676b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e419b",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 248.667,
    "s": 40.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.439,
    "c": 0.14102,
    "h": 285.6
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#4E419B
secondary
#B0B880
accent
#D157BF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4E419B

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

Preview Lab → · Contrast checker → · Palette generator →

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