#4D409F#4D409F

#4D409F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.148 H 284.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4D409F
RGBrgb(77, 64, 159)
HSLhsl(248, 43%, 44%)
HSVhsv(248, 60%, 62%)
CMYKcmyk(51.6%, 59.7%, 0%, 37.6%)
CIE-LABlab(33.45, 31.62, -50.03)
CIE-LCHlch(33.45, 59.18, 302.29°)
OKLaboklab(43.94% 0.0377 -0.1432)
OKLCHoklch(43.94% 0.148 284.8)
XYZxyz(11.1501, 7.7472, 33.7020)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D409F #929F40
analogous
#40629F #4D409F #7C409F
triadic
#4D409F #9F4D40 #409F4D
tetradic
#4D409F #9F4062 #929F40 #409F7C
square
#4D409F #9F4062 #929F40 #409F7C
split-complementary
#4D409F #9F7C40 #629F40
monochromatic
#231D48 #382E73 #4D409F #6B5EBE #938AD0

Accessibility & contrast

On white

8.24
#4D409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4D409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D409F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D409F#FFFFFF#000000##FFFFFF
##4D409F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#2E5669
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d409f;
/* rgb */ color: rgb(77, 64, 159);
/* oklch */ color: oklch(43.9% 0.148 284.8);
Tailwind
colors: {
  custom: {
    50: '#8675bc',
    500: '#4d409f',
    950: '#000000',
  },
}
SCSS
$custom: #4d409f;
$custom-light: #8675bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d409f",
  "rgb": {
    "r": 77,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 248.211,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4394,
    "c": 0.14806,
    "h": 284.8
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#4D409F
secondary
#B3BB80
accent
#D255C1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D409F

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

Preview Lab → · Contrast checker → · Palette generator →

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