#4E3680#4E3680

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

Color values

HEX#4E3680
RGBrgb(78, 54, 128)
HSLhsl(259, 41%, 36%)
HSVhsv(259, 58%, 50%)
CMYKcmyk(39.1%, 57.8%, 0%, 49.8%)
CIE-LABlab(28.94, 28.60, -38.25)
CIE-LCHlch(28.94, 47.76, 306.79°)
OKLaboklab(39.94% 0.0515 -0.1085)
OKLCHoklch(39.94% 0.12 295.4)
XYZxyz(8.3563, 5.8164, 21.1003)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3680 #688036
analogous
#364380 #4E3680 #733680
triadic
#4E3680 #804E36 #36804E
tetradic
#4E3680 #803643 #688036 #368073
square
#4E3680 #803643 #688036 #368073
split-complementary
#4E3680 #807336 #438036
monochromatic
#1A122A #342455 #4E3680 #6848AB #8A6EC2

Accessibility & contrast

On white

9.71
#4E3680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3680
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3680#FFFFFF#000000##FFFFFF
##4E36801.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124582
Deuteranopia (green-blind)
#1A437E
Tritanopia (blue-blind)
#424555
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3680;
/* rgb */ color: rgb(78, 54, 128);
/* oklch */ color: oklch(39.9% 0.120 295.4);
Tailwind
colors: {
  custom: {
    50: '#836ea5',
    500: '#4e3680',
    950: '#000000',
  },
}
SCSS
$custom: #4e3680;
$custom-light: #836ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3680",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 128
  },
  "hsl": {
    "h": 259.459,
    "s": 40.659,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.12014,
    "h": 295.4
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#4E3680
secondary
#95AB67
accent
#D157A9
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E3680

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

Preview Lab → · Contrast checker → · Palette generator →

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