#4E358F#4E358F

#4E358F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.142 H 291.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4E358F
RGBrgb(78, 53, 143)
HSLhsl(257, 46%, 38%)
HSVhsv(257, 63%, 56%)
CMYKcmyk(45.5%, 62.9%, 0%, 43.9%)
CIE-LABlab(29.78, 33.64, -46.20)
CIE-LCHlch(29.78, 57.15, 306.06°)
OKLaboklab(40.9% 0.0524 -0.1319)
OKLCHoklch(40.9% 0.142 291.7)
XYZxyz(9.3715, 6.1488, 26.6743)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E358F #768F35
analogous
#35498F #4E358F #7B358F
triadic
#4E358F #8F4E35 #358F4E
tetradic
#4E358F #8F3549 #768F35 #358F7B
square
#4E358F #8F3549 #768F35 #358F7B
split-complementary
#4E358F #8F7B35 #498F35
monochromatic
#1D1436 #362462 #4E358F #6747BB #8C73CB

Accessibility & contrast

On white

9.42
#4E358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4E358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E358F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E358F#FFFFFF#000000##FFFFFF
##4E358F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#3B4A5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e358f;
/* rgb */ color: rgb(78, 53, 143);
/* oklch */ color: oklch(40.9% 0.142 291.7);
Tailwind
colors: {
  custom: {
    50: '#856db0',
    500: '#4e358f',
    950: '#000000',
  },
}
SCSS
$custom: #4e358f;
$custom-light: #856db0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e358f",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 256.667,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.409,
    "c": 0.14196,
    "h": 291.7
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#4E358F
secondary
#A0B46C
accent
#D652B1
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E358F

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

Preview Lab → · Contrast checker → · Palette generator →

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