#4A417A#4A417A

#4A417A is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.2% C 0.093 H 288.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#4A417A
RGBrgb(74, 65, 122)
HSLhsl(249, 30%, 37%)
HSVhsv(249, 47%, 48%)
CMYKcmyk(39.3%, 46.7%, 0%, 52.2%)
CIE-LABlab(30.98, 18.69, -31.27)
CIE-LCHlch(30.98, 36.43, 300.86°)
OKLaboklab(41.24% 0.0302 -0.0882)
OKLCHoklch(41.24% 0.093 288.9)
XYZxyz(8.2262, 6.6413, 19.2571)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A417A #717A41
analogous
#41557A #4A417A #67417A
triadic
#4A417A #7A4A41 #417A4A
tetradic
#4A417A #7A4155 #717A41 #417A67
square
#4A417A #7A4155 #717A41 #417A67
split-complementary
#4A417A #7A6741 #557A41
monochromatic
#1A162A #322C52 #4A417A #6256A2 #867CB9

Accessibility & contrast

On white

9.02
#4A417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4A417A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A417A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A417A#FFFFFF#000000##FFFFFF
##4A417A1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#2D4879
Tritanopia (blue-blind)
#3D4C57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a417a;
/* rgb */ color: rgb(74, 65, 122);
/* oklch */ color: oklch(41.2% 0.093 288.9);
Tailwind
colors: {
  custom: {
    50: '#7f75a1',
    500: '#4a417a',
    950: '#000000',
  },
}
SCSS
$custom: #4a417a;
$custom-light: #7f75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a417a",
  "rgb": {
    "r": 74,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 249.474,
    "s": 30.481,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4124,
    "c": 0.09321,
    "h": 288.9
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#4A417A
secondary
#9CA473
accent
#C761B7
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080F
muted
#7C7B7E

Preview Lab

Preview with #4A417A

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

Preview Lab → · Contrast checker → · Palette generator →

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