#4E359B#4E359B

#4E359B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.158 H 289.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4E359B
RGBrgb(78, 53, 155)
HSLhsl(255, 49%, 41%)
HSVhsv(255, 66%, 61%)
CMYKcmyk(49.7%, 65.8%, 0%, 39.2%)
CIE-LABlab(30.72, 37.24, -52.04)
CIE-LCHlch(30.72, 63.99, 305.59°)
OKLaboklab(41.87% 0.0514 -0.1491)
OKLCHoklch(41.87% 0.158 289)
XYZxyz(10.3297, 6.5320, 31.7205)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E359B #829B35
analogous
#354F9B #4E359B #81359B
triadic
#4E359B #9B4E35 #359B4E
tetradic
#4E359B #9B354F #829B35 #359B81
square
#4E359B #9B354F #829B35 #359B81
split-complementary
#4E359B #9B8135 #4F9B35
monochromatic
#201640 #37256D #4E359B #684CC2 #8F79D1

Accessibility & contrast

On white

9.11
#4E359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E359B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E359B#FFFFFF#000000##FFFFFF
##4E359B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#344E63
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e359b;
/* rgb */ color: rgb(78, 53, 155);
/* oklch */ color: oklch(41.9% 0.158 289.0);
Tailwind
colors: {
  custom: {
    50: '#866eb9',
    500: '#4e359b',
    950: '#000000',
  },
}
SCSS
$custom: #4e359b;
$custom-light: #866eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e359b",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 254.706,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4187,
    "c": 0.15768,
    "h": 289
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#4E359B
secondary
#A8BA72
accent
#D94FB7
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E359B

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

Preview Lab → · Contrast checker → · Palette generator →

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