#4E359E#4E359E

#4E359E is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.162 H 288.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#4E359E
RGBrgb(78, 53, 158)
HSLhsl(254, 50%, 41%)
HSVhsv(254, 66%, 62%)
CMYKcmyk(50.6%, 66.5%, 0%, 38%)
CIE-LABlab(30.96, 38.15, -53.47)
CIE-LCHlch(30.96, 65.68, 305.51°)
OKLaboklab(42.12% 0.051 -0.1533)
OKLCHoklch(42.12% 0.162 288.4)
XYZxyz(10.5848, 6.6341, 33.0639)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E359E #859E35
analogous
#35519E #4E359E #83359E
triadic
#4E359E #9E4E35 #359E4E
tetradic
#4E359E #9E3551 #859E35 #359E83
square
#4E359E #9E3551 #859E35 #359E83
split-complementary
#4E359E #9E8335 #519E35
monochromatic
#211642 #372670 #4E359E #694DC3 #907BD3

Accessibility & contrast

On white

9.02
#4E359E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E359E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E359E#FFFFFF#000000##FFFFFF
##4E359E1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#324F65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e359e;
/* rgb */ color: rgb(78, 53, 158);
/* oklch */ color: oklch(42.1% 0.162 288.4);
Tailwind
colors: {
  custom: {
    50: '#876ebb',
    500: '#4e359e',
    950: '#000000',
  },
}
SCSS
$custom: #4e359e;
$custom-light: #876ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e359e",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 254.286,
    "s": 49.763,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42121,
    "c": 0.16154,
    "h": 288.4
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#4E359E
secondary
#AABB73
accent
#D94FB8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E359E

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

Preview Lab → · Contrast checker → · Palette generator →

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