#4E358A#4E358A

#4E358A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.135 H 292.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#4E358A
RGBrgb(78, 53, 138)
HSLhsl(258, 45%, 37%)
HSVhsv(258, 62%, 54%)
CMYKcmyk(43.5%, 61.6%, 0%, 45.9%)
CIE-LABlab(29.41, 32.16, -43.72)
CIE-LCHlch(29.41, 54.27, 306.34°)
OKLaboklab(40.51% 0.0527 -0.1246)
OKLCHoklch(40.51% 0.135 292.9)
XYZxyz(9.0012, 6.0006, 24.7238)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E358A #718A35
analogous
#35468A #4E358A #79358A
triadic
#4E358A #8A4E35 #358A4E
tetradic
#4E358A #8A3546 #718A35 #358A79
square
#4E358A #8A3546 #718A35 #358A79
split-complementary
#4E358A #8A7935 #468A35
monochromatic
#1C1332 #35245E #4E358A #6746B6 #8B71C8

Accessibility & contrast

On white

9.54
#4E358A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4E358A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E358A
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E358A#FFFFFF#000000##FFFFFF
##4E358A1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#024488
Tritanopia (blue-blind)
#3E485A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e358a;
/* rgb */ color: rgb(78, 53, 138);
/* oklch */ color: oklch(40.5% 0.135 292.9);
Tailwind
colors: {
  custom: {
    50: '#846dad',
    500: '#4e358a',
    950: '#000000',
  },
}
SCSS
$custom: #4e358a;
$custom-light: #846dad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e358a",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 257.647,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40512,
    "c": 0.1353,
    "h": 292.9
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#4E358A
secondary
#9CB16A
accent
#D454AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E358A

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

Preview Lab → · Contrast checker → · Palette generator →

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