#4E3582#4E3582

#4E3582 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 39.9% C 0.124 H 295.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4E3582
RGBrgb(78, 53, 130)
HSLhsl(259, 42%, 36%)
HSVhsv(259, 59%, 51%)
CMYKcmyk(40%, 59.2%, 0%, 49%)
CIE-LABlab(28.84, 29.80, -39.66)
CIE-LCHlch(28.84, 49.61, 306.93°)
OKLaboklab(39.91% 0.0529 -0.1127)
OKLCHoklch(39.91% 0.124 295.1)
XYZxyz(8.4432, 5.7774, 21.7851)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3582 #698235
analogous
#354282 #4E3582 #743582
triadic
#4E3582 #824E35 #35824E
tetradic
#4E3582 #823542 #698235 #358274
square
#4E3582 #823542 #698235 #358274
split-complementary
#4E3582 #827435 #428235
monochromatic
#1A122B #342357 #4E3582 #6847AD #8A6EC4

Accessibility & contrast

On white

9.74
#4E3582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4E3582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3582
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3582#FFFFFF#000000##FFFFFF
##4E35821.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4585
Deuteranopia (green-blind)
#154380
Tritanopia (blue-blind)
#414556
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3582;
/* rgb */ color: rgb(78, 53, 130);
/* oklch */ color: oklch(39.9% 0.124 295.1);
Tailwind
colors: {
  custom: {
    50: '#836da7',
    500: '#4e3582',
    950: '#000000',
  },
}
SCSS
$custom: #4e3582;
$custom-light: #836da7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3582",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 130
  },
  "hsl": {
    "h": 259.481,
    "s": 42.077,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.12447,
    "h": 295.1
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#4E3582
secondary
#96AC67
accent
#D256AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E3582

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

Preview Lab → · Contrast checker → · Palette generator →

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