#4C418D#4C418D

#4C418D is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.121 H 286.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4C418D
RGBrgb(76, 65, 141)
HSLhsl(249, 37%, 40%)
HSVhsv(249, 54%, 55%)
CMYKcmyk(46.1%, 53.9%, 0%, 44.7%)
CIE-LABlab(32.35, 25.08, -40.85)
CIE-LCHlch(32.35, 47.94, 301.55°)
OKLaboklab(42.7% 0.0349 -0.1162)
OKLCHoklch(42.7% 0.121 286.7)
XYZxyz(9.6771, 7.2398, 26.0817)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C418D #828D41
analogous
#415C8D #4C418D #72418D
triadic
#4C418D #8D4C41 #418D4C
tetradic
#4C418D #8D415C #828D41 #418D72
square
#4C418D #8D415C #828D41 #418D72
split-complementary
#4C418D #8D7241 #5C8D41
monochromatic
#1F1A39 #352E63 #4C418D #6659B2 #8C83C6

Accessibility & contrast

On white

8.58
#4C418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4C418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C418D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C418D#FFFFFF#000000##FFFFFF
##4C418D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#1C4A8B
Tritanopia (blue-blind)
#385160
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c418d;
/* rgb */ color: rgb(76, 65, 141);
/* oklch */ color: oklch(42.7% 0.121 286.7);
Tailwind
colors: {
  custom: {
    50: '#8276af',
    500: '#4c418d',
    950: '#000000',
  },
}
SCSS
$custom: #4c418d;
$custom-light: #8276af;
$custom-dark: #000000;
JSON
{
  "hex": "#4c418d",
  "rgb": {
    "r": 76,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 248.684,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42697,
    "c": 0.12134,
    "h": 286.7
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#4C418D
secondary
#A8B079
accent
#CD5BBC
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4C418D

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

Preview Lab → · Contrast checker → · Palette generator →

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