#4E38B9#4E38B9

#4E38B9 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.9% C 0.192 H 283.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4E38B9
RGBrgb(78, 56, 185)
HSLhsl(250, 54%, 47%)
HSVhsv(250, 70%, 73%)
CMYKcmyk(57.8%, 69.7%, 0%, 27.5%)
CIE-LABlab(33.88, 44.66, -64.86)
CIE-LCHlch(33.88, 78.74, 304.55°)
OKLaboklab(44.93% 0.0441 -0.1867)
OKLCHoklch(44.93% 0.192 283.3)
XYZxyz(13.3103, 7.9500, 46.7227)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38B9 #A3B938
analogous
#3862B9 #4E38B9 #8F38B9
triadic
#4E38B9 #B94E38 #38B94E
tetradic
#4E38B9 #B93862 #A3B938 #38B98F
square
#4E38B9 #B93862 #A3B938 #38B98F
split-complementary
#4E38B9 #B98F38 #62B938
monochromatic
#261C5B #3A2A8A #4E38B9 #725FCF #9C8EDD

Accessibility & contrast

On white

8.11
#4E38B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E38B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E38B9
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38B9#FFFFFF#000000##FFFFFF
##4E38B91.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#125A74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e38b9;
/* rgb */ color: rgb(78, 56, 185);
/* oklch */ color: oklch(44.9% 0.192 283.3);
Tailwind
colors: {
  custom: {
    50: '#8b71cf',
    500: '#4e38b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e38b9;
$custom-light: #8b71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38b9",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 250.233,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44929,
    "c": 0.19185,
    "h": 283.3
  },
  "luminance": 0.07951
}

Semantic roles & 50–950 ramp

primary
#4E38B9
secondary
#BCC885
accent
#DD4BC4
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E38B9

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

Preview Lab → · Contrast checker → · Palette generator →

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