#4E358D#4E358D

#4E358D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.7% C 0.139 H 292.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#4E358D
RGBrgb(78, 53, 141)
HSLhsl(257, 45%, 38%)
HSVhsv(257, 62%, 55%)
CMYKcmyk(44.7%, 62.4%, 0%, 44.7%)
CIE-LABlab(29.64, 33.05, -45.21)
CIE-LCHlch(29.64, 56.00, 306.16°)
OKLaboklab(40.74% 0.0526 -0.129)
OKLCHoklch(40.74% 0.139 292.2)
XYZxyz(9.2214, 6.0887, 25.8835)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E358D #748D35
analogous
#35488D #4E358D #7A358D
triadic
#4E358D #8D4E35 #358D4E
tetradic
#4E358D #8D3548 #748D35 #358D7A
square
#4E358D #8D3548 #748D35 #358D7A
split-complementary
#4E358D #8D7A35 #488D35
monochromatic
#1D1434 #352461 #4E358D #6746B9 #8B72CA

Accessibility & contrast

On white

9.47
#4E358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4E358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E358D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E358D#FFFFFF#000000##FFFFFF
##4E358D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#3C495C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e358d;
/* rgb */ color: rgb(78, 53, 141);
/* oklch */ color: oklch(40.7% 0.139 292.2);
Tailwind
colors: {
  custom: {
    50: '#856daf',
    500: '#4e358d',
    950: '#000000',
  },
}
SCSS
$custom: #4e358d;
$custom-light: #856daf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e358d",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 257.045,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40743,
    "c": 0.1393,
    "h": 292.2
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#4E358D
secondary
#9EB26B
accent
#D553B0
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E358D

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

Preview Lab → · Contrast checker → · Palette generator →

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