#4E3597#4E3597

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

Color values

HEX#4E3597
RGBrgb(78, 53, 151)
HSLhsl(255, 48%, 40%)
HSVhsv(255, 65%, 59%)
CMYKcmyk(48.3%, 64.9%, 0%, 40.8%)
CIE-LABlab(30.40, 36.04, -50.11)
CIE-LCHlch(30.40, 61.73, 305.72°)
OKLaboklab(41.54% 0.0518 -0.1434)
OKLCHoklch(41.54% 0.152 289.9)
XYZxyz(9.9993, 6.3999, 29.9806)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3597 #7E9735
analogous
#354D97 #4E3597 #7F3597
triadic
#4E3597 #974E35 #35974E
tetradic
#4E3597 #97354D #7E9735 #35977F
square
#4E3597 #97354D #7E9735 #35977F
split-complementary
#4E3597 #977F35 #4D9735
monochromatic
#1F153C #37256A #4E3597 #684ABF #8E77CF

Accessibility & contrast

On white

9.21
#4E3597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4E3597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3597
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3597#FFFFFF#000000##FFFFFF
##4E35971.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#374C61
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3597;
/* rgb */ color: rgb(78, 53, 151);
/* oklch */ color: oklch(41.5% 0.152 289.9);
Tailwind
colors: {
  custom: {
    50: '#866eb6',
    500: '#4e3597',
    950: '#000000',
  },
}
SCSS
$custom: #4e3597;
$custom-light: #866eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3597",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 255.306,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.41541,
    "c": 0.15248,
    "h": 289.9
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#4E3597
secondary
#A6B870
accent
#D850B5
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3597

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

Preview Lab → · Contrast checker → · Palette generator →

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