#4E3087#4E3087

#4E3087 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.139 H 295.2°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4E3087
RGBrgb(78, 48, 135)
HSLhsl(261, 48%, 36%)
HSVhsv(261, 64%, 53%)
CMYKcmyk(42.2%, 64.4%, 0%, 47.1%)
CIE-LABlab(28.07, 34.27, -44.03)
CIE-LCHlch(28.07, 55.79, 307.89°)
OKLaboklab(39.46% 0.059 -0.1255)
OKLCHoklch(39.46% 0.139 295.2)
XYZxyz(8.5709, 5.4827, 23.5237)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3087 #698730
analogous
#303D87 #4E3087 #793087
triadic
#4E3087 #874E30 #30874E
tetradic
#4E3087 #87303D #698730 #308779
square
#4E3087 #87303D #698730 #308779
split-complementary
#4E3087 #877930 #3D8730
monochromatic
#1A102D #34205A #4E3087 #6840B4 #8A68C9

Accessibility & contrast

On white

10.02
#4E3087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E3087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3087
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3087#FFFFFF#000000##FFFFFF
##4E30871.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#3F4457
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3087;
/* rgb */ color: rgb(78, 48, 135);
/* oklch */ color: oklch(39.5% 0.139 295.2);
Tailwind
colors: {
  custom: {
    50: '#846aab',
    500: '#4e3087',
    950: '#000000',
  },
}
SCSS
$custom: #4e3087;
$custom-light: #846aab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3087",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 260.69,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3946,
    "c": 0.13869,
    "h": 295.2
  },
  "luminance": 0.05483
}

Semantic roles & 50–950 ramp

primary
#4E3087
secondary
#96B162
accent
#D751A9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E3087

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

Preview Lab → · Contrast checker → · Palette generator →

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