#4A39D7#4A39D7

#4A39D7 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.6% C 0.228 H 278.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#4A39D7
RGBrgb(74, 57, 215)
HSLhsl(246, 66%, 53%)
HSVhsv(246, 73%, 84%)
CMYKcmyk(65.6%, 73.5%, 0%, 15.7%)
CIE-LABlab(36.53, 52.77, -78.00)
CIE-LCHlch(36.53, 94.18, 304.08°)
OKLaboklab(47.58% 0.0321 -0.2253)
OKLCHoklch(47.58% 0.228 278.1)
XYZxyz(16.5490, 9.2870, 65.1973)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A39D7 #C6D739
analogous
#3977D7 #4A39D7 #9939D7
triadic
#4A39D7 #D74A39 #39D74A
tetradic
#4A39D7 #D73977 #C6D739 #39D799
square
#4A39D7 #D73977 #C6D739 #39D799
split-complementary
#4A39D7 #D79939 #77D739
monochromatic
#24197C #3223AF #4A39D7 #796CE1 #A79FEC

Accessibility & contrast

On white

7.35
#4A39D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4A39D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A39D7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A39D7#FFFFFF#000000##FFFFFF
##4A39D71.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#004FD4
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4a39d7;
/* rgb */ color: rgb(74, 57, 215);
/* oklch */ color: oklch(47.6% 0.228 278.1);
Tailwind
colors: {
  custom: {
    50: '#8e72e5',
    500: '#4a39d7',
    950: '#000000',
  },
}
SCSS
$custom: #4a39d7;
$custom-light: #8e72e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a39d7",
  "rgb": {
    "r": 74,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 246.456,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47579,
    "c": 0.22755,
    "h": 278.1
  },
  "luminance": 0.09288
}

Semantic roles & 50–950 ramp

primary
#4A39D7
secondary
#D1D894
accent
#E93ED7
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4A39D7

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

Preview Lab → · Contrast checker → · Palette generator →

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