#4E3093#4E3093

#4E3093 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.154 H 292.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4E3093
RGBrgb(78, 48, 147)
HSLhsl(258, 51%, 38%)
HSVhsv(258, 67%, 58%)
CMYKcmyk(46.9%, 67.3%, 0%, 42.4%)
CIE-LABlab(29.00, 37.76, -49.93)
CIE-LCHlch(29.00, 62.60, 307.10°)
OKLaboklab(40.43% 0.0577 -0.1429)
OKLCHoklch(40.43% 0.154 292)
XYZxyz(9.4638, 5.8399, 28.2267)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3093 #759330
analogous
#304393 #4E3093 #7F3093
triadic
#4E3093 #934E30 #30934E
tetradic
#4E3093 #933043 #759330 #30937F
square
#4E3093 #933043 #759330 #30937F
split-complementary
#4E3093 #937F30 #439330
monochromatic
#1D1237 #362165 #4E3093 #6740C1 #8B6ED0

Accessibility & contrast

On white

9.69
#4E3093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3093
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3093#FFFFFF#000000##FFFFFF
##4E30931.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#39485D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3093;
/* rgb */ color: rgb(78, 48, 147);
/* oklch */ color: oklch(40.4% 0.154 292.0);
Tailwind
colors: {
  custom: {
    50: '#866ab3',
    500: '#4e3093',
    950: '#000000',
  },
}
SCSS
$custom: #4e3093;
$custom-light: #866ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3093",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 147
  },
  "hsl": {
    "h": 258.182,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40433,
    "c": 0.15409,
    "h": 292
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#4E3093
secondary
#9FB768
accent
#DA4EB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E3093

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

Preview Lab → · Contrast checker → · Palette generator →

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