#4D429F#4D429F

#4D429F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.145 H 284.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4D429F
RGBrgb(77, 66, 159)
HSLhsl(247, 41%, 44%)
HSVhsv(247, 58%, 62%)
CMYKcmyk(51.6%, 58.5%, 0%, 37.6%)
CIE-LABlab(33.93, 30.37, -49.25)
CIE-LCHlch(33.93, 57.86, 301.66°)
OKLaboklab(44.3% 0.0355 -0.1409)
OKLCHoklch(44.3% 0.145 284.1)
XYZxyz(11.2649, 7.9768, 33.7403)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D429F #949F42
analogous
#42669F #4D429F #7C429F
triadic
#4D429F #9F4D42 #429F4D
tetradic
#4D429F #9F4266 #949F42 #429F7C
square
#4D429F #9F4266 #949F42 #429F7C
split-complementary
#4D429F #9F7C42 #669F42
monochromatic
#231E49 #383074 #4D429F #6C61BD #948CCF

Accessibility & contrast

On white

8.09
#4D429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4D429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D429F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D429F#FFFFFF#000000##FFFFFF
##4D429F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#2E576A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d429f;
/* rgb */ color: rgb(77, 66, 159);
/* oklch */ color: oklch(44.3% 0.145 284.1);
Tailwind
colors: {
  custom: {
    50: '#8577bc',
    500: '#4d429f',
    950: '#000000',
  },
}
SCSS
$custom: #4d429f;
$custom-light: #8577bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d429f",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 247.097,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44297,
    "c": 0.14527,
    "h": 284.1
  },
  "luminance": 0.07977
}

Semantic roles & 50–950 ramp

primary
#4D429F
secondary
#B4BA82
accent
#D157C3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D429F

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

Preview Lab → · Contrast checker → · Palette generator →

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