#4A3AA4#4A3AA4

#4A3AA4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.163 H 284.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4A3AA4
RGBrgb(74, 58, 164)
HSLhsl(249, 48%, 44%)
HSVhsv(249, 65%, 64%)
CMYKcmyk(54.9%, 64.6%, 0%, 35.7%)
CIE-LABlab(32.17, 36.29, -55.13)
CIE-LCHlch(32.17, 66.00, 303.35°)
OKLaboklab(43.06% 0.0397 -0.1583)
OKLCHoklch(43.06% 0.163 284.1)
XYZxyz(11.0359, 7.1617, 35.9156)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3AA4 #94A43A
analogous
#3A5FA4 #4A3AA4 #7F3AA4
triadic
#4A3AA4 #A44A3A #3AA44A
tetradic
#4A3AA4 #A43A5F #94A43A #3AA47F
square
#4A3AA4 #A43A5F #94A43A #3AA47F
split-complementary
#4A3AA4 #A47F3A #5FA43A
monochromatic
#211A4A #362A77 #4A3AA4 #6857C4 #9185D4

Accessibility & contrast

On white

8.63
#4A3AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4A3AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3AA4
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3AA4#FFFFFF#000000##FFFFFF
##4A3AA41.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#225469
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a3aa4;
/* rgb */ color: rgb(74, 58, 164);
/* oklch */ color: oklch(43.1% 0.163 284.1);
Tailwind
colors: {
  custom: {
    50: '#8571c0',
    500: '#4a3aa4',
    950: '#000000',
  },
}
SCSS
$custom: #4a3aa4;
$custom-light: #8571c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3aa4",
  "rgb": {
    "r": 74,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 249.057,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43061,
    "c": 0.16319,
    "h": 284.1
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#4A3AA4
secondary
#B4BE7C
accent
#D750C3
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4A3AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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