#4E3086#4E3086

#4E3086 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.4% C 0.137 H 295.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4E3086
RGBrgb(78, 48, 134)
HSLhsl(261, 47%, 36%)
HSVhsv(261, 64%, 53%)
CMYKcmyk(41.8%, 64.2%, 0%, 47.5%)
CIE-LABlab(27.99, 33.98, -43.53)
CIE-LCHlch(27.99, 55.22, 307.98°)
OKLaboklab(39.38% 0.059 -0.124)
OKLCHoklch(39.38% 0.137 295.5)
XYZxyz(8.5008, 5.4547, 23.1546)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3086 #688630
analogous
#303D86 #4E3086 #793086
triadic
#4E3086 #864E30 #30864E
tetradic
#4E3086 #86303D #688630 #308679
square
#4E3086 #86303D #688630 #308679
split-complementary
#4E3086 #867930 #3D8630
monochromatic
#1A102C #342059 #4E3086 #6840B3 #8A68C9

Accessibility & contrast

On white

10.04
#4E3086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E3086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3086
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3086#FFFFFF#000000##FFFFFF
##4E30861.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#404356
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3086;
/* rgb */ color: rgb(78, 48, 134);
/* oklch */ color: oklch(39.4% 0.137 295.5);
Tailwind
colors: {
  custom: {
    50: '#846aaa',
    500: '#4e3086',
    950: '#000000',
  },
}
SCSS
$custom: #4e3086;
$custom-light: #846aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3086",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 134
  },
  "hsl": {
    "h": 260.93,
    "s": 47.253,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.13738,
    "h": 295.5
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#4E3086
secondary
#95B062
accent
#D751A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E3086

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

Preview Lab → · Contrast checker → · Palette generator →

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