#4A3BAB#4A3BAB

#4A3BAB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.8% C 0.171 H 282.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4A3BAB
RGBrgb(74, 59, 171)
HSLhsl(248, 49%, 45%)
HSVhsv(248, 65%, 67%)
CMYKcmyk(56.7%, 65.5%, 0%, 32.9%)
CIE-LABlab(32.97, 37.91, -58.03)
CIE-LCHlch(32.97, 69.32, 303.15°)
OKLaboklab(43.82% 0.038 -0.1668)
OKLCHoklch(43.82% 0.171 282.8)
XYZxyz(11.7364, 7.5233, 39.3539)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3BAB #9CAB3B
analogous
#3B64AB #4A3BAB #823BAB
triadic
#4A3BAB #AB4A3B #3BAB4A
tetradic
#4A3BAB #AB3B64 #9CAB3B #3BAB82
square
#4A3BAB #AB3B64 #9CAB3B #3BAB82
split-complementary
#4A3BAB #AB823B #64AB3B
monochromatic
#231C50 #362B7D #4A3BAB #6B5CC7 #948AD7

Accessibility & contrast

On white

8.38
#4A3BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4A3BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3BAB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3BAB#FFFFFF#000000##FFFFFF
##4A3BAB1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#19576D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a3bab;
/* rgb */ color: rgb(74, 59, 171);
/* oklch */ color: oklch(43.8% 0.171 282.8);
Tailwind
colors: {
  custom: {
    50: '#8672c5',
    500: '#4a3bab',
    950: '#000000',
  },
}
SCSS
$custom: #4a3bab;
$custom-light: #8672c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3bab",
  "rgb": {
    "r": 74,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 248.036,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43818,
    "c": 0.17109,
    "h": 282.8
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#4A3BAB
secondary
#B8C181
accent
#D850C6
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4A3BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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