#4A39B5#4A39B5

#4A39B5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.4% C 0.186 H 281.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4A39B5
RGBrgb(74, 57, 181)
HSLhsl(248, 52%, 47%)
HSVhsv(248, 69%, 71%)
CMYKcmyk(59.1%, 68.5%, 0%, 29%)
CIE-LABlab(33.39, 42.24, -63.31)
CIE-LCHlch(33.39, 76.10, 303.71°)
OKLaboklab(44.38% 0.0384 -0.1823)
OKLCHoklch(44.38% 0.186 281.9)
XYZxyz(12.6251, 7.7174, 44.5314)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A39B5 #A4B539
analogous
#3966B5 #4A39B5 #8839B5
triadic
#4A39B5 #B54A39 #39B54A
tetradic
#4A39B5 #B53966 #A4B539 #39B588
square
#4A39B5 #B53966 #A4B539 #39B588
split-complementary
#4A39B5 #B58839 #66B539
monochromatic
#241C58 #372A86 #4A39B5 #6E5FCD #988DDB

Accessibility & contrast

On white

8.26
#4A39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A39B5
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A39B5#FFFFFF#000000##FFFFFF
##4A39B51.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#015972
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4a39b5;
/* rgb */ color: rgb(74, 57, 181);
/* oklch */ color: oklch(44.4% 0.186 281.9);
Tailwind
colors: {
  custom: {
    50: '#8871cc',
    500: '#4a39b5',
    950: '#000000',
  },
}
SCSS
$custom: #4a39b5;
$custom-light: #8871cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a39b5",
  "rgb": {
    "r": 74,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 248.226,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44383,
    "c": 0.1863,
    "h": 281.9
  },
  "luminance": 0.07718
}

Semantic roles & 50–950 ramp

primary
#4A39B5
secondary
#BDC684
accent
#DC4CC8
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4A39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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