#4E4481#4E4481

#4E4481 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.7% C 0.099 H 289.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4E4481
RGBrgb(78, 68, 129)
HSLhsl(250, 31%, 39%)
HSVhsv(250, 47%, 51%)
CMYKcmyk(39.5%, 47.3%, 0%, 49.4%)
CIE-LABlab(32.57, 19.99, -33.09)
CIE-LCHlch(32.57, 38.66, 301.14°)
OKLaboklab(42.67% 0.0322 -0.0934)
OKLCHoklch(42.67% 0.099 289)
XYZxyz(9.1704, 7.3387, 21.6980)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4481 #778144
analogous
#445881 #4E4481 #6C4481
triadic
#4E4481 #814E44 #44814E
tetradic
#4E4481 #814458 #778144 #44816C
square
#4E4481 #814458 #778144 #44816C
split-complementary
#4E4481 #816C44 #588144
monochromatic
#1E1A31 #362F59 #4E4481 #675AA8 #8C82BD

Accessibility & contrast

On white

8.51
#4E4481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E4481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4481
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4481#FFFFFF#000000##FFFFFF
##4E44811.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4E83
Deuteranopia (green-blind)
#2E4B80
Tritanopia (blue-blind)
#40505C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4481;
/* rgb */ color: rgb(78, 68, 129);
/* oklch */ color: oklch(42.7% 0.099 289.0);
Tailwind
colors: {
  custom: {
    50: '#8278a6',
    500: '#4e4481',
    950: '#000000',
  },
}
SCSS
$custom: #4e4481;
$custom-light: #8278a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4481",
  "rgb": {
    "r": 78,
    "g": 68,
    "b": 129
  },
  "hsl": {
    "h": 249.836,
    "s": 30.964,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42665,
    "c": 0.09879,
    "h": 289
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#4E4481
secondary
#A1A878
accent
#C761B6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4481

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

Preview Lab → · Contrast checker → · Palette generator →

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