#4E3684#4E3684

#4E3684 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.2% C 0.126 H 294.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4E3684
RGBrgb(78, 54, 132)
HSLhsl(258, 42%, 36%)
HSVhsv(258, 59%, 52%)
CMYKcmyk(40.9%, 59.1%, 0%, 48.2%)
CIE-LABlab(29.22, 29.77, -40.30)
CIE-LCHlch(29.22, 50.11, 306.46°)
OKLaboklab(40.23% 0.0516 -0.1146)
OKLCHoklch(40.23% 0.126 294.2)
XYZxyz(8.6248, 5.9238, 22.5143)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3684 #6C8436
analogous
#364584 #4E3684 #753684
triadic
#4E3684 #844E36 #36844E
tetradic
#4E3684 #843645 #6C8436 #368475
square
#4E3684 #843645 #6C8436 #368475
split-complementary
#4E3684 #847536 #458436
monochromatic
#1B122D #342459 #4E3684 #6848AF #8A70C4

Accessibility & contrast

On white

9.61
#4E3684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E3684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3684
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3684#FFFFFF#000000##FFFFFF
##4E36841.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4687
Deuteranopia (green-blind)
#144482
Tritanopia (blue-blind)
#404757
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3684;
/* rgb */ color: rgb(78, 54, 132);
/* oklch */ color: oklch(40.2% 0.126 294.2);
Tailwind
colors: {
  custom: {
    50: '#836ea8',
    500: '#4e3684',
    950: '#000000',
  },
}
SCSS
$custom: #4e3684;
$custom-light: #836ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3684",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 132
  },
  "hsl": {
    "h": 258.462,
    "s": 41.935,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40232,
    "c": 0.12564,
    "h": 294.2
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#4E3684
secondary
#98AD69
accent
#D256AC
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3684

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

Preview Lab → · Contrast checker → · Palette generator →

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