#4E3683#4E3683

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

Color values

HEX#4E3683
RGBrgb(78, 54, 131)
HSLhsl(259, 42%, 36%)
HSVhsv(259, 59%, 51%)
CMYKcmyk(40.5%, 58.8%, 0%, 48.6%)
CIE-LABlab(29.15, 29.48, -39.79)
CIE-LCHlch(29.15, 49.52, 306.53°)
OKLaboklab(40.16% 0.0516 -0.1131)
OKLCHoklch(40.16% 0.124 294.5)
XYZxyz(8.5567, 5.8965, 22.1556)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3683 #6B8336
analogous
#364583 #4E3683 #753683
triadic
#4E3683 #834E36 #36834E
tetradic
#4E3683 #833645 #6B8336 #368375
square
#4E3683 #833645 #6B8336 #368375
split-complementary
#4E3683 #837536 #458336
monochromatic
#1A122C #342458 #4E3683 #6848AE #8A70C4

Accessibility & contrast

On white

9.64
#4E3683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3683
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3683#FFFFFF#000000##FFFFFF
##4E36831.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4586
Deuteranopia (green-blind)
#164381
Tritanopia (blue-blind)
#414657
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3683;
/* rgb */ color: rgb(78, 54, 131);
/* oklch */ color: oklch(40.2% 0.124 294.5);
Tailwind
colors: {
  custom: {
    50: '#836ea7',
    500: '#4e3683',
    950: '#000000',
  },
}
SCSS
$custom: #4e3683;
$custom-light: #836ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3683",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 258.701,
    "s": 41.622,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40159,
    "c": 0.12427,
    "h": 294.5
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#4E3683
secondary
#97AC68
accent
#D156AB
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E3683

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

Preview Lab → · Contrast checker → · Palette generator →

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