#4E3095#4E3095

#4E3095 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.157 H 291.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4E3095
RGBrgb(78, 48, 149)
HSLhsl(258, 51%, 39%)
HSVhsv(258, 68%, 58%)
CMYKcmyk(47.7%, 67.8%, 0%, 41.6%)
CIE-LABlab(29.17, 38.35, -50.89)
CIE-LCHlch(29.17, 63.72, 307.00°)
OKLaboklab(40.6% 0.0574 -0.1457)
OKLCHoklch(40.6% 0.157 291.5)
XYZxyz(9.6221, 5.9032, 29.0604)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3095 #779530
analogous
#304495 #4E3095 #803095
triadic
#4E3095 #954E30 #30954E
tetradic
#4E3095 #953044 #779530 #309580
square
#4E3095 #953044 #779530 #309580
split-complementary
#4E3095 #958030 #449530
monochromatic
#1E1238 #362167 #4E3095 #6741C2 #8C6FD1

Accessibility & contrast

On white

9.63
#4E3095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E3095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3095
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3095#FFFFFF#000000##FFFFFF
##4E30951.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#38495E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3095;
/* rgb */ color: rgb(78, 48, 149);
/* oklch */ color: oklch(40.6% 0.157 291.5);
Tailwind
colors: {
  custom: {
    50: '#866ab5',
    500: '#4e3095',
    950: '#000000',
  },
}
SCSS
$custom: #4e3095;
$custom-light: #866ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3095",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 257.822,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.406,
    "c": 0.15662,
    "h": 291.5
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#4E3095
secondary
#A1B869
accent
#DB4DB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3095

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

Preview Lab → · Contrast checker → · Palette generator →

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