#4E419D#4E419D

#4E419D is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.144 H 285.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4E419D
RGBrgb(78, 65, 157)
HSLhsl(248, 41%, 44%)
HSVhsv(248, 59%, 62%)
CMYKcmyk(50.3%, 58.6%, 0%, 38.4%)
CIE-LABlab(33.63, 30.57, -48.52)
CIE-LCHlch(33.63, 57.35, 302.22°)
OKLaboklab(44.05% 0.038 -0.1387)
OKLCHoklch(44.05% 0.144 285.3)
XYZxyz(11.1162, 7.8341, 32.8181)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E419D #909D41
analogous
#41629D #4E419D #7C419D
triadic
#4E419D #9D4E41 #419D4E
tetradic
#4E419D #9D4162 #909D41 #419D7C
square
#4E419D #9D4162 #909D41 #419D7C
split-complementary
#4E419D #9D7C41 #629D41
monochromatic
#231D46 #382F72 #4E419D #6C5FBD #948ACF

Accessibility & contrast

On white

8.18
#4E419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E419D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E419D#FFFFFF#000000##FFFFFF
##4E419D1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#325668
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e419d;
/* rgb */ color: rgb(78, 65, 157);
/* oklch */ color: oklch(44.1% 0.144 285.3);
Tailwind
colors: {
  custom: {
    50: '#8676bb',
    500: '#4e419d',
    950: '#000000',
  },
}
SCSS
$custom: #4e419d;
$custom-light: #8676bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e419d",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 248.478,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44051,
    "c": 0.1438,
    "h": 285.3
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#4E419D
secondary
#B1B980
accent
#D157C0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E419D

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

Preview Lab → · Contrast checker → · Palette generator →

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