#4A3AA1#4A3AA1

#4A3AA1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.159 H 284.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#4A3AA1
RGBrgb(74, 58, 161)
HSLhsl(249, 47%, 43%)
HSVhsv(249, 64%, 63%)
CMYKcmyk(54%, 64%, 0%, 36.9%)
CIE-LABlab(31.93, 35.34, -53.72)
CIE-LCHlch(31.93, 64.30, 303.34°)
OKLaboklab(42.81% 0.04 -0.1541)
OKLCHoklch(42.81% 0.159 284.5)
XYZxyz(10.7682, 7.0546, 34.5056)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3AA1 #91A13A
analogous
#3A5EA1 #4A3AA1 #7D3AA1
triadic
#4A3AA1 #A14A3A #3AA14A
tetradic
#4A3AA1 #A13A5E #91A13A #3AA17D
square
#4A3AA1 #A13A5E #91A13A #3AA17D
split-complementary
#4A3AA1 #A17D3A #5EA13A
monochromatic
#211A47 #352A74 #4A3AA1 #6756C2 #8F83D2

Accessibility & contrast

On white

8.71
#4A3AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4A3AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3AA1
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3AA1#FFFFFF#000000##FFFFFF
##4A3AA11.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#265368
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a3aa1;
/* rgb */ color: rgb(74, 58, 161);
/* oklch */ color: oklch(42.8% 0.159 284.5);
Tailwind
colors: {
  custom: {
    50: '#8571be',
    500: '#4a3aa1',
    950: '#000000',
  },
}
SCSS
$custom: #4a3aa1;
$custom-light: #8571be;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3aa1",
  "rgb": {
    "r": 74,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 249.32,
    "s": 47.032,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.15923,
    "h": 284.5
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#4A3AA1
secondary
#B2BC7B
accent
#D751C2
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4A3AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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