#4E3487#4E3487

#4E3487 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.133 H 294.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4E3487
RGBrgb(78, 52, 135)
HSLhsl(259, 44%, 37%)
HSVhsv(259, 61%, 53%)
CMYKcmyk(42.2%, 61.5%, 0%, 47.1%)
CIE-LABlab(28.97, 31.88, -42.58)
CIE-LCHlch(28.97, 53.19, 306.82°)
OKLaboklab(40.11% 0.0541 -0.1213)
OKLCHoklch(40.11% 0.133 294)
XYZxyz(8.7419, 5.8247, 23.5807)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3487 #6D8734
analogous
#344487 #4E3487 #783487
triadic
#4E3487 #874E34 #34874E
tetradic
#4E3487 #873444 #6D8734 #348778
square
#4E3487 #873444 #6D8734 #348778
split-complementary
#4E3487 #877834 #448734
monochromatic
#1B122F #34235B #4E3487 #6845B3 #8A6EC7

Accessibility & contrast

On white

9.70
#4E3487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4E3487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3487
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3487#FFFFFF#000000##FFFFFF
##4E34871.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#084385
Tritanopia (blue-blind)
#3F4658
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3487;
/* rgb */ color: rgb(78, 52, 135);
/* oklch */ color: oklch(40.1% 0.133 294.0);
Tailwind
colors: {
  custom: {
    50: '#846dab',
    500: '#4e3487',
    950: '#000000',
  },
}
SCSS
$custom: #4e3487;
$custom-light: #846dab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3487",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 258.795,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40114,
    "c": 0.13276,
    "h": 294
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#4E3487
secondary
#99AF67
accent
#D454AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3487

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

Preview Lab → · Contrast checker → · Palette generator →

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