#4E359F#4E359F

#4E359F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.2% C 0.163 H 288.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4E359F
RGBrgb(78, 53, 159)
HSLhsl(254, 50%, 42%)
HSVhsv(254, 67%, 62%)
CMYKcmyk(50.9%, 66.7%, 0%, 37.6%)
CIE-LABlab(31.04, 38.45, -53.94)
CIE-LCHlch(31.04, 66.24, 305.48°)
OKLaboklab(42.21% 0.0509 -0.1547)
OKLCHoklch(42.21% 0.163 288.2)
XYZxyz(10.6712, 6.6686, 33.5191)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E359F #869F35
analogous
#35519F #4E359F #83359F
triadic
#4E359F #9F4E35 #359F4E
tetradic
#4E359F #9F3551 #869F35 #359F83
square
#4E359F #9F3551 #869F35 #359F83
split-complementary
#4E359F #9F8335 #519F35
monochromatic
#211643 #372671 #4E359F #694DC4 #907BD3

Accessibility & contrast

On white

9.00
#4E359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4E359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E359F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E359F#FFFFFF#000000##FFFFFF
##4E359F1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#314F65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e359f;
/* rgb */ color: rgb(78, 53, 159);
/* oklch */ color: oklch(42.2% 0.163 288.2);
Tailwind
colors: {
  custom: {
    50: '#876ebc',
    500: '#4e359f',
    950: '#000000',
  },
}
SCSS
$custom: #4e359f;
$custom-light: #876ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e359f",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 254.151,
    "s": 50,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42205,
    "c": 0.16282,
    "h": 288.2
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#4E359F
secondary
#ABBC74
accent
#DA4EB9
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E359F

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

Preview Lab → · Contrast checker → · Palette generator →

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