#4D418E#4D418E

#4D418E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.123 H 287.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4D418E
RGBrgb(77, 65, 142)
HSLhsl(249, 37%, 41%)
HSVhsv(249, 54%, 56%)
CMYKcmyk(45.8%, 54.2%, 0%, 44.3%)
CIE-LABlab(32.50, 25.64, -41.21)
CIE-LCHlch(32.50, 48.53, 301.89°)
OKLaboklab(42.86% 0.0363 -0.1172)
OKLCHoklch(42.86% 0.123 287.2)
XYZxyz(9.8320, 7.3110, 26.4791)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D418E #828E41
analogous
#415B8E #4D418E #73418E
triadic
#4D418E #8E4D41 #418E4D
tetradic
#4D418E #8E415B #828E41 #418E73
square
#4D418E #8E415B #828E41 #418E73
split-complementary
#4D418E #8E7341 #5B8E41
monochromatic
#1F1B3A #362E64 #4D418E #6759B3 #8E83C6

Accessibility & contrast

On white

8.53
#4D418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4D418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D418E
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D418E#FFFFFF#000000##FFFFFF
##4D418E1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E91
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#395161
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d418e;
/* rgb */ color: rgb(77, 65, 142);
/* oklch */ color: oklch(42.9% 0.123 287.2);
Tailwind
colors: {
  custom: {
    50: '#8376af',
    500: '#4d418e',
    950: '#000000',
  },
}
SCSS
$custom: #4d418e;
$custom-light: #8376af;
$custom-dark: #000000;
JSON
{
  "hex": "#4d418e",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 249.351,
    "s": 37.198,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.12272,
    "h": 287.2
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#4D418E
secondary
#A8B17A
accent
#CD5BBB
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4D418E

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

Preview Lab → · Contrast checker → · Palette generator →

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