#4A39B2#4A39B2

#4A39B2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.1% C 0.183 H 282.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4A39B2
RGBrgb(74, 57, 178)
HSLhsl(248, 51%, 46%)
HSVhsv(248, 68%, 70%)
CMYKcmyk(58.4%, 68%, 0%, 30.2%)
CIE-LABlab(33.13, 41.30, -61.95)
CIE-LCHlch(33.13, 74.45, 303.69°)
OKLaboklab(44.12% 0.0389 -0.1783)
OKLCHoklch(44.12% 0.183 282.3)
XYZxyz(12.3206, 7.5956, 42.9277)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A39B2 #A1B239
analogous
#3964B2 #4A39B2 #8639B2
triadic
#4A39B2 #B24A39 #39B24A
tetradic
#4A39B2 #B23964 #A1B239 #39B286
square
#4A39B2 #B23964 #A1B239 #39B286
split-complementary
#4A39B2 #B28639 #64B239
monochromatic
#231B55 #372A84 #4A39B2 #6D5DCB #968BDA

Accessibility & contrast

On white

8.34
#4A39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4A39B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A39B2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A39B2#FFFFFF#000000##FFFFFF
##4A39B21.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#0B5871
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a39b2;
/* rgb */ color: rgb(74, 57, 178);
/* oklch */ color: oklch(44.1% 0.183 282.3);
Tailwind
colors: {
  custom: {
    50: '#8871ca',
    500: '#4a39b2',
    950: '#000000',
  },
}
SCSS
$custom: #4a39b2;
$custom-light: #8871ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4a39b2",
  "rgb": {
    "r": 74,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 248.43,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44115,
    "c": 0.18251,
    "h": 282.3
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#4A39B2
secondary
#BBC482
accent
#DB4DC7
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4A39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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