#4D419F#4D419F

#4D419F is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.147 H 284.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4D419F
RGBrgb(77, 65, 159)
HSLhsl(248, 42%, 44%)
HSVhsv(248, 59%, 62%)
CMYKcmyk(51.6%, 59.1%, 0%, 37.6%)
CIE-LABlab(33.69, 30.99, -49.64)
CIE-LCHlch(33.69, 58.52, 301.98°)
OKLaboklab(44.12% 0.0366 -0.142)
OKLCHoklch(44.12% 0.147 284.4)
XYZxyz(11.2070, 7.8610, 33.7210)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D419F #939F41
analogous
#41649F #4D419F #7C419F
triadic
#4D419F #9F4D41 #419F4D
tetradic
#4D419F #9F4164 #939F41 #419F7C
square
#4D419F #9F4164 #939F41 #419F7C
split-complementary
#4D419F #9F7C41 #649F41
monochromatic
#231D48 #382F74 #4D419F #6B5FBE #948BD0

Accessibility & contrast

On white

8.16
#4D419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D419F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D419F#FFFFFF#000000##FFFFFF
##4D419F1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d419f;
/* rgb */ color: rgb(77, 65, 159);
/* oklch */ color: oklch(44.1% 0.147 284.4);
Tailwind
colors: {
  custom: {
    50: '#8676bc',
    500: '#4d419f',
    950: '#000000',
  },
}
SCSS
$custom: #4d419f;
$custom-light: #8676bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d419f",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 247.66,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44117,
    "c": 0.14667,
    "h": 284.4
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D419F

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

Preview Lab → · Contrast checker → · Palette generator →

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