#4A39B7#4A39B7

#4A39B7 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.6% C 0.189 H 281.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4A39B7
RGBrgb(74, 57, 183)
HSLhsl(248, 53%, 47%)
HSVhsv(248, 69%, 72%)
CMYKcmyk(59.6%, 68.9%, 0%, 28.2%)
CIE-LABlab(33.56, 42.86, -64.20)
CIE-LCHlch(33.56, 77.20, 303.73°)
OKLaboklab(44.56% 0.0381 -0.1849)
OKLCHoklch(44.56% 0.189 281.7)
XYZxyz(12.8317, 7.8001, 45.6200)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A39B7 #A6B739
analogous
#3967B7 #4A39B7 #8939B7
triadic
#4A39B7 #B74A39 #39B74A
tetradic
#4A39B7 #B73967 #A6B739 #39B789
square
#4A39B7 #B73967 #A6B739 #39B789
split-complementary
#4A39B7 #B78939 #67B739
monochromatic
#241C5A #372A88 #4A39B7 #6F60CD #998EDC

Accessibility & contrast

On white

8.20
#4A39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4A39B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A39B7
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A39B7#FFFFFF#000000##FFFFFF
##4A39B71.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4a39b7;
/* rgb */ color: rgb(74, 57, 183);
/* oklch */ color: oklch(44.6% 0.189 281.7);
Tailwind
colors: {
  custom: {
    50: '#8871ce',
    500: '#4a39b7',
    950: '#000000',
  },
}
SCSS
$custom: #4a39b7;
$custom-light: #8871ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4a39b7",
  "rgb": {
    "r": 74,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 248.095,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44564,
    "c": 0.18881,
    "h": 281.7
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#4A39B7
secondary
#BEC785
accent
#DC4CC8
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0814
muted
#7D7B82

Preview Lab

Preview with #4A39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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