#4E419F#4E419F

#4E419F is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.147 H 285.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4E419F
RGBrgb(78, 65, 159)
HSLhsl(248, 42%, 44%)
HSVhsv(248, 59%, 62%)
CMYKcmyk(50.9%, 59.1%, 0%, 37.6%)
CIE-LABlab(33.78, 31.20, -49.49)
CIE-LCHlch(33.78, 58.51, 302.23°)
OKLaboklab(44.2% 0.0379 -0.1416)
OKLCHoklch(44.2% 0.147 285)
XYZxyz(11.2883, 7.9029, 33.7248)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E419F #929F41
analogous
#41639F #4E419F #7D419F
triadic
#4E419F #9F4E41 #419F4E
tetradic
#4E419F #9F4163 #929F41 #419F7D
square
#4E419F #9F4163 #929F41 #419F7D
split-complementary
#4E419F #9F7D41 #639F41
monochromatic
#231D48 #392F74 #4E419F #6C5FBE #948BD0

Accessibility & contrast

On white

8.14
#4E419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E419F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E419F#FFFFFF#000000##FFFFFF
##4E419F1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#305769
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e419f;
/* rgb */ color: rgb(78, 65, 159);
/* oklch */ color: oklch(44.2% 0.147 285.0);
Tailwind
colors: {
  custom: {
    50: '#8676bc',
    500: '#4e419f',
    950: '#000000',
  },
}
SCSS
$custom: #4e419f;
$custom-light: #8676bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e419f",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 248.298,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44204,
    "c": 0.14656,
    "h": 285
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#4E419F
secondary
#B3BA81
accent
#D256C1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E419F

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

Preview Lab → · Contrast checker → · Palette generator →

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