#4E358E#4E358E

#4E358E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.8% C 0.141 H 291.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4E358E
RGBrgb(78, 53, 142)
HSLhsl(257, 46%, 38%)
HSVhsv(257, 63%, 56%)
CMYKcmyk(45.1%, 62.7%, 0%, 44.3%)
CIE-LABlab(29.71, 33.34, -45.71)
CIE-LCHlch(29.71, 56.58, 306.11°)
OKLaboklab(40.82% 0.0525 -0.1305)
OKLCHoklch(40.82% 0.141 291.9)
XYZxyz(9.2961, 6.1186, 26.2772)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E358E #758E35
analogous
#35488E #4E358E #7A358E
triadic
#4E358E #8E4E35 #358E4E
tetradic
#4E358E #8E3548 #758E35 #358E7A
square
#4E358E #8E3548 #758E35 #358E7A
split-complementary
#4E358E #8E7A35 #488E35
monochromatic
#1D1435 #362461 #4E358E #6746BA #8B73CB

Accessibility & contrast

On white

9.44
#4E358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4E358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E358E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E358E#FFFFFF#000000##FFFFFF
##4E358E1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#3C495C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e358e;
/* rgb */ color: rgb(78, 53, 142);
/* oklch */ color: oklch(40.8% 0.141 291.9);
Tailwind
colors: {
  custom: {
    50: '#856db0',
    500: '#4e358e',
    950: '#000000',
  },
}
SCSS
$custom: #4e358e;
$custom-light: #856db0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e358e",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 256.854,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40821,
    "c": 0.14063,
    "h": 291.9
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#4E358E
secondary
#9FB36C
accent
#D552B1
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E358E

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

Preview Lab → · Contrast checker → · Palette generator →

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