#4D459F#4D459F

#4D459F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.141 H 283.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4D459F
RGBrgb(77, 69, 159)
HSLhsl(245, 39%, 45%)
HSVhsv(245, 57%, 62%)
CMYKcmyk(51.6%, 56.6%, 0%, 37.6%)
CIE-LABlab(34.67, 28.48, -48.05)
CIE-LCHlch(34.67, 55.86, 300.66°)
OKLaboklab(44.84% 0.0321 -0.1373)
OKLCHoklch(44.84% 0.141 283.1)
XYZxyz(11.4448, 8.3366, 33.8002)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D459F #979F45
analogous
#456A9F #4D459F #7A459F
triadic
#4D459F #9F4D45 #459F4D
tetradic
#4D459F #9F456A #979F45 #459F7A
square
#4D459F #9F456A #979F45 #459F7A
split-complementary
#4D459F #9F7A45 #6A9F45
monochromatic
#24204A #383274 #4D459F #6D65BC #9590CF

Accessibility & contrast

On white

7.87
#4D459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4D459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D459F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D459F#FFFFFF#000000##FFFFFF
##4D459F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A54A2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#2D596B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d459f;
/* rgb */ color: rgb(77, 69, 159);
/* oklch */ color: oklch(44.8% 0.141 283.1);
Tailwind
colors: {
  custom: {
    50: '#8579bc',
    500: '#4d459f',
    950: '#000000',
  },
}
SCSS
$custom: #4d459f;
$custom-light: #8579bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d459f",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 245.333,
    "s": 39.474,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44844,
    "c": 0.14103,
    "h": 283.1
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#4D459F
secondary
#B6BA86
accent
#CF58C5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4D459F

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

Preview Lab → · Contrast checker → · Palette generator →

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