#4A3D97#4A3D97

#4A3D97 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.142 H 285.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4A3D97
RGBrgb(74, 61, 151)
HSLhsl(249, 42%, 42%)
HSVhsv(249, 60%, 59%)
CMYKcmyk(51%, 59.6%, 0%, 40.8%)
CIE-LABlab(31.87, 30.32, -47.75)
CIE-LCHlch(31.87, 56.56, 302.41°)
OKLaboklab(42.52% 0.0373 -0.1366)
OKLCHoklch(42.52% 0.142 285.3)
XYZxyz(10.0770, 7.0272, 30.0976)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3D97 #8A973D
analogous
#3D5D97 #4A3D97 #773D97
triadic
#4A3D97 #974A3D #3D974A
tetradic
#4A3D97 #973D5D #8A973D #3D9777
square
#4A3D97 #973D5D #8A973D #3D9777
split-complementary
#4A3D97 #97773D #5D973D
monochromatic
#1F1A40 #352B6B #4A3D97 #6556BB #8D82CC

Accessibility & contrast

On white

8.73
#4A3D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A3D97
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3D97#FFFFFF#000000##FFFFFF
##4A3D971.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#2E5264
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a3d97;
/* rgb */ color: rgb(74, 61, 151);
/* oklch */ color: oklch(42.5% 0.142 285.3);
Tailwind
colors: {
  custom: {
    50: '#8373b6',
    500: '#4a3d97',
    950: '#000000',
  },
}
SCSS
$custom: #4a3d97;
$custom-light: #8373b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3d97",
  "rgb": {
    "r": 74,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 248.667,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42522,
    "c": 0.14158,
    "h": 285.3
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#4A3D97
secondary
#AEB779
accent
#D256C0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4A3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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