#4A3FA5#4A3FA5

#4A3FA5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.158 H 282.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4A3FA5
RGBrgb(74, 63, 165)
HSLhsl(246, 45%, 45%)
HSVhsv(246, 62%, 65%)
CMYKcmyk(55.2%, 61.8%, 0%, 35.3%)
CIE-LABlab(33.41, 33.55, -53.72)
CIE-LCHlch(33.41, 63.34, 301.99°)
OKLaboklab(43.99% 0.0346 -0.1541)
OKLCHoklch(43.99% 0.158 282.6)
XYZxyz(11.3910, 7.7268, 36.4812)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3FA5 #9AA53F
analogous
#3F67A5 #4A3FA5 #7D3FA5
triadic
#4A3FA5 #A54A3F #3FA54A
tetradic
#4A3FA5 #A53F67 #9AA53F #3FA57D
square
#4A3FA5 #A53F67 #9AA53F #3FA57D
split-complementary
#4A3FA5 #A57D3F #67A53F
monochromatic
#221D4C #362E79 #4A3FA5 #6A5FC2 #938CD3

Accessibility & contrast

On white

8.25
#4A3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4A3FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3FA5
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3FA5#FFFFFF#000000##FFFFFF
##4A3FA51.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#21576C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4a3fa5;
/* rgb */ color: rgb(74, 63, 165);
/* oklch */ color: oklch(44.0% 0.158 282.6);
Tailwind
colors: {
  custom: {
    50: '#8574c0',
    500: '#4a3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #4a3fa5;
$custom-light: #8574c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3fa5",
  "rgb": {
    "r": 74,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 246.471,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43987,
    "c": 0.15797,
    "h": 282.6
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#4A3FA5
secondary
#B7BE82
accent
#D453C7
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4A3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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