#4A3CA6#4A3CA6

#4A3CA6 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.163 H 283.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4A3CA6
RGBrgb(74, 60, 166)
HSLhsl(248, 47%, 44%)
HSVhsv(248, 64%, 65%)
CMYKcmyk(55.4%, 63.9%, 0%, 34.9%)
CIE-LABlab(32.79, 35.71, -55.33)
CIE-LCHlch(32.79, 65.86, 302.84°)
OKLaboklab(43.56% 0.0375 -0.1589)
OKLCHoklch(43.56% 0.163 283.3)
XYZxyz(11.3207, 7.4401, 36.9085)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3CA6 #98A63C
analogous
#3C63A6 #4A3CA6 #7F3CA6
triadic
#4A3CA6 #A64A3C #3CA64A
tetradic
#4A3CA6 #A63C63 #98A63C #3CA67F
square
#4A3CA6 #A63C63 #98A63C #3CA67F
split-complementary
#4A3CA6 #A67F3C #63A63C
monochromatic
#221C4C #362C79 #4A3CA6 #695BC4 #9288D4

Accessibility & contrast

On white

8.44
#4A3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4A3CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3CA6
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3CA6#FFFFFF#000000##FFFFFF
##4A3CA61.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#20566B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a3ca6;
/* rgb */ color: rgb(74, 60, 166);
/* oklch */ color: oklch(43.6% 0.163 283.3);
Tailwind
colors: {
  custom: {
    50: '#8572c1',
    500: '#4a3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #4a3ca6;
$custom-light: #8572c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3ca6",
  "rgb": {
    "r": 74,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 247.925,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43559,
    "c": 0.16325,
    "h": 283.3
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#4A3CA6
secondary
#B6BE7F
accent
#D751C5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4A3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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