#4D39B5#4D39B5

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

Color values

HEX#4D39B5
RGBrgb(77, 57, 181)
HSLhsl(250, 52%, 47%)
HSVhsv(250, 69%, 71%)
CMYKcmyk(57.5%, 68.5%, 0%, 29%)
CIE-LABlab(33.65, 42.71, -62.87)
CIE-LCHlch(33.65, 76.00, 304.19°)
OKLaboklab(44.63% 0.0426 -0.1809)
OKLCHoklch(44.63% 0.186 283.2)
XYZxyz(12.8616, 7.8394, 44.5425)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D39B5 #A1B539
analogous
#3963B5 #4D39B5 #8B39B5
triadic
#4D39B5 #B54D39 #39B54D
tetradic
#4D39B5 #B53963 #A1B539 #39B58B
square
#4D39B5 #B53963 #A1B539 #39B58B
split-complementary
#4D39B5 #B58B39 #63B539
monochromatic
#251C58 #392A86 #4D39B5 #705FCD #9A8DDB

Accessibility & contrast

On white

8.18
#4D39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4D39B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D39B5
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D39B5#FFFFFF#000000##FFFFFF
##4D39B51.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d39b5;
/* rgb */ color: rgb(77, 57, 181);
/* oklch */ color: oklch(44.6% 0.186 283.2);
Tailwind
colors: {
  custom: {
    50: '#8a71cc',
    500: '#4d39b5',
    950: '#000000',
  },
}
SCSS
$custom: #4d39b5;
$custom-light: #8a71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d39b5",
  "rgb": {
    "r": 77,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 249.677,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44633,
    "c": 0.18587,
    "h": 283.2
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#4D39B5
secondary
#BBC684
accent
#DC4CC4
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4D39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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