#4E3584#4E3584

#4E3584 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.127 H 294.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4E3584
RGBrgb(78, 53, 132)
HSLhsl(259, 43%, 36%)
HSVhsv(259, 60%, 52%)
CMYKcmyk(40.9%, 59.8%, 0%, 48.2%)
CIE-LABlab(28.98, 30.39, -40.68)
CIE-LCHlch(28.98, 50.78, 306.76°)
OKLaboklab(40.06% 0.0529 -0.1157)
OKLCHoklch(40.06% 0.127 294.6)
XYZxyz(8.5787, 5.8317, 22.4990)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3584 #6B8435
analogous
#354484 #4E3584 #763584
triadic
#4E3584 #844E35 #35844E
tetradic
#4E3584 #843544 #6B8435 #358476
square
#4E3584 #843544 #6B8435 #358476
split-complementary
#4E3584 #847635 #448435
monochromatic
#1A122D #342358 #4E3584 #6847B0 #8A6EC5

Accessibility & contrast

On white

9.69
#4E3584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3584
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3584#FFFFFF#000000##FFFFFF
##4E35841.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e3584;
/* rgb */ color: rgb(78, 53, 132);
/* oklch */ color: oklch(40.1% 0.127 294.6);
Tailwind
colors: {
  custom: {
    50: '#836da8',
    500: '#4e3584',
    950: '#000000',
  },
}
SCSS
$custom: #4e3584;
$custom-light: #836da8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3584",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 132
  },
  "hsl": {
    "h": 258.987,
    "s": 42.703,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40059,
    "c": 0.12719,
    "h": 294.6
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#4E3584
secondary
#97AD68
accent
#D255AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3584

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

Preview Lab → · Contrast checker → · Palette generator →

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