#4E3CAB#4E3CAB

#4E3CAB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.3% C 0.169 H 284.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4E3CAB
RGBrgb(78, 60, 171)
HSLhsl(250, 48%, 45%)
HSVhsv(250, 65%, 67%)
CMYKcmyk(54.4%, 64.9%, 0%, 32.9%)
CIE-LABlab(33.54, 38.02, -57.08)
CIE-LCHlch(33.54, 68.59, 303.67°)
OKLaboklab(44.32% 0.0425 -0.1639)
OKLCHoklch(44.32% 0.169 284.5)
XYZxyz(12.1062, 7.7910, 39.3861)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3CAB #99AB3C
analogous
#3C61AB #4E3CAB #863CAB
triadic
#4E3CAB #AB4E3C #3CAB4E
tetradic
#4E3CAB #AB3C61 #99AB3C #3CAB86
square
#4E3CAB #AB3C61 #99AB3C #3CAB86
split-complementary
#4E3CAB #AB863C #61AB3C
monochromatic
#251C50 #392C7E #4E3CAB #6F5EC6 #978BD6

Accessibility & contrast

On white

8.21
#4E3CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3CAB
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3CAB#FFFFFF#000000##FFFFFF
##4E3CAB1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#26576E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3cab;
/* rgb */ color: rgb(78, 60, 171);
/* oklch */ color: oklch(44.3% 0.169 284.5);
Tailwind
colors: {
  custom: {
    50: '#8873c5',
    500: '#4e3cab',
    950: '#000000',
  },
}
SCSS
$custom: #4e3cab;
$custom-light: #8873c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3cab",
  "rgb": {
    "r": 78,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 249.73,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44322,
    "c": 0.16931,
    "h": 284.5
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#4E3CAB
secondary
#B7C182
accent
#D850C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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