#4C419D#4C419D

#4C419D is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.144 H 284.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4C419D
RGBrgb(76, 65, 157)
HSLhsl(247, 41%, 44%)
HSVhsv(247, 59%, 62%)
CMYKcmyk(51.6%, 58.6%, 0%, 38.4%)
CIE-LABlab(33.46, 30.15, -48.81)
CIE-LCHlch(33.46, 57.37, 301.70°)
OKLaboklab(43.88% 0.0353 -0.1396)
OKLCHoklch(43.88% 0.144 284.2)
XYZxyz(10.9548, 7.7508, 32.8106)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C419D #929D41
analogous
#41649D #4C419D #7A419D
triadic
#4C419D #9D4C41 #419D4C
tetradic
#4C419D #9D4164 #929D41 #419D7A
square
#4C419D #9D4164 #929D41 #419D7A
split-complementary
#4C419D #9D7A41 #649D41
monochromatic
#221D46 #372F72 #4C419D #6A5FBD #928ACF

Accessibility & contrast

On white

8.23
#4C419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4C419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C419D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C419D#FFFFFF#000000##FFFFFF
##4C419D1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#2D5668
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c419d;
/* rgb */ color: rgb(76, 65, 157);
/* oklch */ color: oklch(43.9% 0.144 284.2);
Tailwind
colors: {
  custom: {
    50: '#8576bb',
    500: '#4c419d',
    950: '#000000',
  },
}
SCSS
$custom: #4c419d;
$custom-light: #8576bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c419d",
  "rgb": {
    "r": 76,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 247.174,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43877,
    "c": 0.14402,
    "h": 284.2
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C419D

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

Preview Lab → · Contrast checker → · Palette generator →

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