#4E409C#4E409C

#4E409C is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.144 H 285.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4E409C
RGBrgb(78, 64, 156)
HSLhsl(249, 42%, 43%)
HSVhsv(249, 59%, 61%)
CMYKcmyk(50%, 59%, 0%, 38.8%)
CIE-LABlab(33.32, 30.88, -48.42)
CIE-LCHlch(33.32, 57.43, 302.53°)
OKLaboklab(43.8% 0.0391 -0.1384)
OKLCHoklch(43.8% 0.144 285.8)
XYZxyz(10.9743, 7.6863, 32.3514)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E409C #8E9C40
analogous
#40609C #4E409C #7C409C
triadic
#4E409C #9C4E40 #409C4E
tetradic
#4E409C #9C4060 #8E9C40 #409C7C
square
#4E409C #9C4060 #8E9C40 #409C7C
split-complementary
#4E409C #9C7C40 #609C40
monochromatic
#231C45 #382E71 #4E409C #6B5DBC #9388CE

Accessibility & contrast

On white

8.28
#4E409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E409C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E409C
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E409C#FFFFFF#000000##FFFFFF
##4E409C1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#325567
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e409c;
/* rgb */ color: rgb(78, 64, 156);
/* oklch */ color: oklch(43.8% 0.144 285.8);
Tailwind
colors: {
  custom: {
    50: '#8675ba',
    500: '#4e409c',
    950: '#000000',
  },
}
SCSS
$custom: #4e409c;
$custom-light: #8675ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e409c",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 249.13,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43797,
    "c": 0.14384,
    "h": 285.8
  },
  "luminance": 0.07687
}

Semantic roles & 50–950 ramp

primary
#4E409C
secondary
#B0B97F
accent
#D256BF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E409C

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

Preview Lab → · Contrast checker → · Palette generator →

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