#4A417B#4A417B

#4A417B is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.3% C 0.095 H 288.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4A417B
RGBrgb(74, 65, 123)
HSLhsl(249, 31%, 37%)
HSVhsv(249, 47%, 48%)
CMYKcmyk(39.8%, 47.2%, 0%, 51.8%)
CIE-LABlab(31.03, 18.99, -31.80)
CIE-LCHlch(31.03, 37.04, 300.84°)
OKLaboklab(41.3% 0.0303 -0.0897)
OKLCHoklch(41.3% 0.095 288.7)
XYZxyz(8.2885, 6.6663, 19.5851)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A417B #727B41
analogous
#41557B #4A417B #67417B
triadic
#4A417B #7B4A41 #417B4A
tetradic
#4A417B #7B4155 #727B41 #417B67
square
#4A417B #7B4155 #727B41 #417B67
split-complementary
#4A417B #7B6741 #557B41
monochromatic
#1A172B #322C53 #4A417B #6256A3 #867CBA

Accessibility & contrast

On white

9.00
#4A417B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A417B
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A417B#FFFFFF#000000##FFFFFF
##4A417B1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7D
Deuteranopia (green-blind)
#2C487A
Tritanopia (blue-blind)
#3D4C58
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a417b;
/* rgb */ color: rgb(74, 65, 123);
/* oklch */ color: oklch(41.3% 0.095 288.7);
Tailwind
colors: {
  custom: {
    50: '#7f75a1',
    500: '#4a417b',
    950: '#000000',
  },
}
SCSS
$custom: #4a417b;
$custom-light: #7f75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a417b",
  "rgb": {
    "r": 74,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 249.31,
    "s": 30.851,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41303,
    "c": 0.09473,
    "h": 288.7
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#4A417B
secondary
#9DA573
accent
#C761B7
background
#F7F7FA
surface
#EEEDF3
border
#C9C8CD
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #4A417B

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

Preview Lab → · Contrast checker → · Palette generator →

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