#4D429E#4D429E

#4D429E is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.144 H 284.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4D429E
RGBrgb(77, 66, 158)
HSLhsl(247, 41%, 44%)
HSVhsv(247, 58%, 62%)
CMYKcmyk(51.3%, 58.2%, 0%, 38%)
CIE-LABlab(33.86, 30.05, -48.76)
CIE-LCHlch(33.86, 57.27, 301.64°)
OKLaboklab(44.22% 0.0355 -0.1394)
OKLCHoklch(44.22% 0.144 284.3)
XYZxyz(11.1785, 7.9423, 33.2851)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D429E #939E42
analogous
#42659E #4D429E #7B429E
triadic
#4D429E #9E4D42 #429E4D
tetradic
#4D429E #9E4265 #939E42 #429E7B
square
#4D429E #9E4265 #939E42 #429E7B
split-complementary
#4D429E #9E7B42 #659E42
monochromatic
#231E48 #383073 #4D429E #6B60BD #948CCF

Accessibility & contrast

On white

8.11
#4D429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4D429E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D429E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D429E#FFFFFF#000000##FFFFFF
##4D429E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#2E5769
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d429e;
/* rgb */ color: rgb(77, 66, 158);
/* oklch */ color: oklch(44.2% 0.144 284.3);
Tailwind
colors: {
  custom: {
    50: '#8577bb',
    500: '#4d429e',
    950: '#000000',
  },
}
SCSS
$custom: #4d429e;
$custom-light: #8577bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d429e",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 247.174,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4422,
    "c": 0.14388,
    "h": 284.3
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#4D429E
secondary
#B3BA82
accent
#D157C2
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D429E

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

Preview Lab → · Contrast checker → · Palette generator →

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