#4E3585#4E3585

#4E3585 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.1% C 0.129 H 294.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#4E3585
RGBrgb(78, 53, 133)
HSLhsl(259, 43%, 36%)
HSVhsv(259, 60%, 52%)
CMYKcmyk(41.4%, 60.2%, 0%, 47.8%)
CIE-LABlab(29.05, 30.68, -41.19)
CIE-LCHlch(29.05, 51.36, 306.68°)
OKLaboklab(40.13% 0.0528 -0.1172)
OKLCHoklch(40.13% 0.129 294.3)
XYZxyz(8.6475, 5.8592, 22.8611)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3585 #6C8535
analogous
#354485 #4E3585 #763585
triadic
#4E3585 #854E35 #35854E
tetradic
#4E3585 #853544 #6C8535 #358576
square
#4E3585 #853544 #6C8535 #358576
split-complementary
#4E3585 #857635 #448535
monochromatic
#1B122D #342459 #4E3585 #6846B1 #8A6FC6

Accessibility & contrast

On white

9.67
#4E3585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4E3585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3585
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3585#FFFFFF#000000##FFFFFF
##4E35851.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034588
Deuteranopia (green-blind)
#104383
Tritanopia (blue-blind)
#404657
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3585;
/* rgb */ color: rgb(78, 53, 133);
/* oklch */ color: oklch(40.1% 0.129 294.3);
Tailwind
colors: {
  custom: {
    50: '#846da9',
    500: '#4e3585',
    950: '#000000',
  },
}
SCSS
$custom: #4e3585;
$custom-light: #846da9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3585",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 258.75,
    "s": 43.011,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40134,
    "c": 0.12854,
    "h": 294.3
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#4E3585
secondary
#98AE68
accent
#D355AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3585

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

Preview Lab → · Contrast checker → · Palette generator →

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