#4A3AA6#4A3AA6

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

Color values

HEX#4A3AA6
RGBrgb(74, 58, 166)
HSLhsl(249, 48%, 44%)
HSVhsv(249, 65%, 65%)
CMYKcmyk(55.4%, 65.1%, 0%, 34.9%)
CIE-LABlab(32.33, 36.92, -56.07)
CIE-LCHlch(32.33, 67.13, 303.36°)
OKLaboklab(43.23% 0.0395 -0.1611)
OKLCHoklch(43.23% 0.166 283.8)
XYZxyz(11.2179, 7.2345, 36.8743)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3AA6 #96A63A
analogous
#3A60A6 #4A3AA6 #803AA6
triadic
#4A3AA6 #A64A3A #3AA64A
tetradic
#4A3AA6 #A63A60 #96A63A #3AA680
square
#4A3AA6 #A63A60 #96A63A #3AA680
split-complementary
#4A3AA6 #A6803A #60A63A
monochromatic
#221A4B #362A79 #4A3AA6 #6858C5 #9186D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A3AA6#FFFFFF#000000##FFFFFF
##4A3AA61.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)
#004FA9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#20556A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a3aa6;
/* rgb */ color: rgb(74, 58, 166);
/* oklch */ color: oklch(43.2% 0.166 283.8);
Tailwind
colors: {
  custom: {
    50: '#8571c1',
    500: '#4a3aa6',
    950: '#000000',
  },
}
SCSS
$custom: #4a3aa6;
$custom-light: #8571c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3aa6",
  "rgb": {
    "r": 74,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 248.889,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4323,
    "c": 0.16583,
    "h": 283.8
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#4A3AA6
secondary
#B5BF7D
accent
#D850C4
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4A3AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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