#4E3695#4E3695

#4E3695 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.148 H 290.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#4E3695
RGBrgb(78, 54, 149)
HSLhsl(255, 47%, 40%)
HSVhsv(255, 64%, 58%)
CMYKcmyk(47.7%, 63.8%, 0%, 41.6%)
CIE-LABlab(30.47, 34.84, -48.78)
CIE-LCHlch(30.47, 59.95, 305.54°)
OKLaboklab(41.54% 0.0508 -0.1395)
OKLCHoklch(41.54% 0.148 290)
XYZxyz(9.8843, 6.4276, 29.1478)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3695 #7D9536
analogous
#364E95 #4E3695 #7E3695
triadic
#4E3695 #954E36 #36954E
tetradic
#4E3695 #95364E #7D9536 #36957E
square
#4E3695 #95364E #7D9536 #36957E
split-complementary
#4E3695 #957E36 #4E9536
monochromatic
#1F153B #362668 #4E3695 #684BBE #8D78CE

Accessibility & contrast

On white

9.19
#4E3695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4E3695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3695
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3695#FFFFFF#000000##FFFFFF
##4E36951.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#384C60
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3695;
/* rgb */ color: rgb(78, 54, 149);
/* oklch */ color: oklch(41.5% 0.148 290.0);
Tailwind
colors: {
  custom: {
    50: '#866eb5',
    500: '#4e3695',
    950: '#000000',
  },
}
SCSS
$custom: #4e3695;
$custom-light: #866eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3695",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 149
  },
  "hsl": {
    "h": 255.158,
    "s": 46.798,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41541,
    "c": 0.14848,
    "h": 290
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#4E3695
secondary
#A5B770
accent
#D651B5
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3695

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

Preview Lab → · Contrast checker → · Palette generator →

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