#4D419D#4D419D

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

Color values

HEX#4D419D
RGBrgb(77, 65, 157)
HSLhsl(248, 41%, 44%)
HSVhsv(248, 59%, 62%)
CMYKcmyk(51%, 58.6%, 0%, 38.4%)
CIE-LABlab(33.55, 30.36, -48.67)
CIE-LCHlch(33.55, 57.36, 301.96°)
OKLaboklab(43.96% 0.0366 -0.1392)
OKLCHoklch(43.96% 0.144 284.7)
XYZxyz(11.0349, 7.7921, 32.8143)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D419D #919D41
analogous
#41639D #4D419D #7B419D
triadic
#4D419D #9D4D41 #419D4D
tetradic
#4D419D #9D4163 #919D41 #419D7B
square
#4D419D #9D4163 #919D41 #419D7B
split-complementary
#4D419D #9D7B41 #639D41
monochromatic
#231D46 #382F72 #4D419D #6B5FBD #938ACF

Accessibility & contrast

On white

8.21
#4D419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4D419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D419D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D419D#FFFFFF#000000##FFFFFF
##4D419D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d419d;
/* rgb */ color: rgb(77, 65, 157);
/* oklch */ color: oklch(44.0% 0.144 284.7);
Tailwind
colors: {
  custom: {
    50: '#8576bb',
    500: '#4d419d',
    950: '#000000',
  },
}
SCSS
$custom: #4d419d;
$custom-light: #8576bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d419d",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 247.826,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43964,
    "c": 0.14391,
    "h": 284.7
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#4D419D
secondary
#B2B980
accent
#D157C1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D419D

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

Preview Lab → · Contrast checker → · Palette generator →

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