#4E419E#4E419E

#4E419E is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.145 H 285.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4E419E
RGBrgb(78, 65, 158)
HSLhsl(248, 42%, 44%)
HSVhsv(248, 59%, 62%)
CMYKcmyk(50.6%, 58.9%, 0%, 38%)
CIE-LABlab(33.71, 30.89, -49.01)
CIE-LCHlch(33.71, 57.93, 302.22°)
OKLaboklab(44.13% 0.0379 -0.1401)
OKLCHoklch(44.13% 0.145 285.1)
XYZxyz(11.2019, 7.8684, 33.2696)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E419E #919E41
analogous
#41629E #4E419E #7C419E
triadic
#4E419E #9E4E41 #419E4E
tetradic
#4E419E #9E4162 #919E41 #419E7C
square
#4E419E #9E4162 #919E41 #419E7C
split-complementary
#4E419E #9E7C41 #629E41
monochromatic
#231D47 #392F73 #4E419E #6C5FBD #948ACF

Accessibility & contrast

On white

8.16
#4E419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E419E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E419E#FFFFFF#000000##FFFFFF
##4E419E1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#315669
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e419e;
/* rgb */ color: rgb(78, 65, 158);
/* oklch */ color: oklch(44.1% 0.145 285.1);
Tailwind
colors: {
  custom: {
    50: '#8676bb',
    500: '#4e419e',
    950: '#000000',
  },
}
SCSS
$custom: #4e419e;
$custom-light: #8676bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e419e",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 248.387,
    "s": 41.704,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44127,
    "c": 0.14518,
    "h": 285.1
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#4E419E
secondary
#B2BA81
accent
#D256C0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E419E

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

Preview Lab → · Contrast checker → · Palette generator →

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