#4D419E#4D419E

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

Color values

HEX#4D419E
RGBrgb(77, 65, 158)
HSLhsl(248, 42%, 44%)
HSVhsv(248, 59%, 62%)
CMYKcmyk(51.3%, 58.9%, 0%, 38%)
CIE-LABlab(33.62, 30.68, -49.15)
CIE-LCHlch(33.62, 57.94, 301.97°)
OKLaboklab(44.04% 0.0366 -0.1406)
OKLCHoklch(44.04% 0.145 284.6)
XYZxyz(11.1206, 7.8264, 33.2658)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D419E #929E41
analogous
#41639E #4D419E #7B419E
triadic
#4D419E #9E4D41 #419E4D
tetradic
#4D419E #9E4163 #929E41 #419E7B
square
#4D419E #9E4163 #929E41 #419E7B
split-complementary
#4D419E #9E7B41 #639E41
monochromatic
#231D47 #382F73 #4D419E #6B5FBD #938ACF

Accessibility & contrast

On white

8.19
#4D419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D419E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D419E#FFFFFF#000000##FFFFFF
##4D419E1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d419e;
/* rgb */ color: rgb(77, 65, 158);
/* oklch */ color: oklch(44.0% 0.145 284.6);
Tailwind
colors: {
  custom: {
    50: '#8576bb',
    500: '#4d419e',
    950: '#000000',
  },
}
SCSS
$custom: #4d419e;
$custom-light: #8576bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d419e",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 247.742,
    "s": 41.704,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4404,
    "c": 0.14529,
    "h": 284.6
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#4D419E
secondary
#B3BA81
accent
#D256C2
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D419E

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

Preview Lab → · Contrast checker → · Palette generator →

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