#4A3FA4#4A3FA4

#4A3FA4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.157 H 282.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4A3FA4
RGBrgb(74, 63, 164)
HSLhsl(247, 44%, 45%)
HSVhsv(247, 62%, 64%)
CMYKcmyk(54.9%, 61.6%, 0%, 35.7%)
CIE-LABlab(33.33, 33.23, -53.25)
CIE-LCHlch(33.33, 62.77, 301.97°)
OKLaboklab(43.91% 0.0346 -0.1527)
OKLCHoklch(43.91% 0.157 282.8)
XYZxyz(11.3003, 7.6905, 36.0037)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3FA4 #99A43F
analogous
#3F66A4 #4A3FA4 #7D3FA4
triadic
#4A3FA4 #A44A3F #3FA44A
tetradic
#4A3FA4 #A43F66 #99A43F #3FA47D
square
#4A3FA4 #A43F66 #99A43F #3FA47D
split-complementary
#4A3FA4 #A47D3F #66A43F
monochromatic
#221D4C #362E78 #4A3FA4 #6A5FC1 #938BD2

Accessibility & contrast

On white

8.27
#4A3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4A3FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3FA4
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3FA4#FFFFFF#000000##FFFFFF
##4A3FA41.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#22576B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a3fa4;
/* rgb */ color: rgb(74, 63, 164);
/* oklch */ color: oklch(43.9% 0.157 282.8);
Tailwind
colors: {
  custom: {
    50: '#8574c0',
    500: '#4a3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #4a3fa4;
$custom-light: #8574c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3fa4",
  "rgb": {
    "r": 74,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 246.535,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.15662,
    "h": 282.8
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#4A3FA4
secondary
#B7BD82
accent
#D454C6
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4A3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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