#4E358B#4E358B

#4E358B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.6% C 0.137 H 292.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#4E358B
RGBrgb(78, 53, 139)
HSLhsl(257, 45%, 38%)
HSVhsv(257, 62%, 55%)
CMYKcmyk(43.9%, 61.9%, 0%, 45.5%)
CIE-LABlab(29.49, 32.45, -44.22)
CIE-LCHlch(29.49, 54.85, 306.28°)
OKLaboklab(40.59% 0.0527 -0.1261)
OKLCHoklch(40.59% 0.137 292.7)
XYZxyz(9.0739, 6.0297, 25.1069)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E358B #728B35
analogous
#35478B #4E358B #79358B
triadic
#4E358B #8B4E35 #358B4E
tetradic
#4E358B #8B3547 #728B35 #358B79
square
#4E358B #8B3547 #728B35 #358B79
split-complementary
#4E358B #8B7935 #478B35
monochromatic
#1C1332 #35245F #4E358B #6746B7 #8B71C9

Accessibility & contrast

On white

9.52
#4E358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4E358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E358B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E358B#FFFFFF#000000##FFFFFF
##4E358B1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#004489
Tritanopia (blue-blind)
#3D485B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e358b;
/* rgb */ color: rgb(78, 53, 139);
/* oklch */ color: oklch(40.6% 0.137 292.7);
Tailwind
colors: {
  custom: {
    50: '#846dad',
    500: '#4e358b',
    950: '#000000',
  },
}
SCSS
$custom: #4e358b;
$custom-light: #846dad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e358b",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 257.442,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40588,
    "c": 0.13663,
    "h": 292.7
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#4E358B
secondary
#9DB16A
accent
#D453AF
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E358B

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

Preview Lab → · Contrast checker → · Palette generator →

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