#4C429D#4C429D

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

Color values

HEX#4C429D
RGBrgb(76, 66, 157)
HSLhsl(247, 41%, 44%)
HSVhsv(247, 58%, 62%)
CMYKcmyk(51.6%, 58%, 0%, 38.4%)
CIE-LABlab(33.70, 29.52, -48.42)
CIE-LCHlch(33.70, 56.70, 301.37°)
OKLaboklab(44.06% 0.0342 -0.1385)
OKLCHoklch(44.06% 0.143 283.9)
XYZxyz(11.0127, 7.8667, 32.8299)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C429D #939D42
analogous
#42659D #4C429D #79429D
triadic
#4C429D #9D4C42 #429D4C
tetradic
#4C429D #9D4265 #939D42 #429D79
square
#4C429D #9D4265 #939D42 #429D79
split-complementary
#4C429D #9D7942 #659D42
monochromatic
#221E47 #373072 #4C429D #6A60BC #928BCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C429D#FFFFFF#000000##FFFFFF
##4C429D1.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)
#0052A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#2D5769
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c429d;
/* rgb */ color: rgb(76, 66, 157);
/* oklch */ color: oklch(44.1% 0.143 283.9);
Tailwind
colors: {
  custom: {
    50: '#8576bb',
    500: '#4c429d',
    950: '#000000',
  },
}
SCSS
$custom: #4c429d;
$custom-light: #8576bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c429d",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 246.593,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44059,
    "c": 0.14261,
    "h": 283.9
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#4C429D
secondary
#B3B982
accent
#D157C3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #4C429D

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

Preview Lab → · Contrast checker → · Palette generator →

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