#4A39AA#4A39AA

#4A39AA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.172 H 283.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4A39AA
RGBrgb(74, 57, 170)
HSLhsl(249, 50%, 45%)
HSVhsv(249, 66%, 67%)
CMYKcmyk(56.5%, 66.5%, 0%, 33.3%)
CIE-LABlab(32.44, 38.78, -58.29)
CIE-LCHlch(32.44, 70.01, 303.63°)
OKLaboklab(43.41% 0.04 -0.1676)
OKLCHoklch(43.41% 0.172 283.4)
XYZxyz(11.5406, 7.2837, 38.8202)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A39AA #99AA39
analogous
#3960AA #4A39AA #8339AA
triadic
#4A39AA #AA4A39 #39AA4A
tetradic
#4A39AA #AA3960 #99AA39 #39AA83
square
#4A39AA #AA3960 #99AA39 #39AA83
split-complementary
#4A39AA #AA8339 #60AA39
monochromatic
#221A4E #362A7C #4A39AA #6A59C7 #9387D7

Accessibility & contrast

On white

8.55
#4A39AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4A39AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A39AA
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A39AA#FFFFFF#000000##FFFFFF
##4A39AA1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#1B566C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a39aa;
/* rgb */ color: rgb(74, 57, 170);
/* oklch */ color: oklch(43.4% 0.172 283.4);
Tailwind
colors: {
  custom: {
    50: '#8671c4',
    500: '#4a39aa',
    950: '#000000',
  },
}
SCSS
$custom: #4a39aa;
$custom-light: #8671c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a39aa",
  "rgb": {
    "r": 74,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 249.027,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43412,
    "c": 0.17229,
    "h": 283.4
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#4A39AA
secondary
#B7C17E
accent
#D94EC4
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A39AA

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

Preview Lab → · Contrast checker → · Palette generator →

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