#4E3094#4E3094

#4E3094 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.155 H 291.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4E3094
RGBrgb(78, 48, 148)
HSLhsl(258, 51%, 38%)
HSVhsv(258, 68%, 58%)
CMYKcmyk(47.3%, 67.6%, 0%, 42%)
CIE-LABlab(29.09, 38.05, -50.41)
CIE-LCHlch(29.09, 63.16, 307.05°)
OKLaboklab(40.52% 0.0576 -0.1443)
OKLCHoklch(40.52% 0.155 291.7)
XYZxyz(9.5426, 5.8714, 28.6417)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3094 #769430
analogous
#304494 #4E3094 #803094
triadic
#4E3094 #944E30 #30944E
tetradic
#4E3094 #943044 #769430 #309480
square
#4E3094 #943044 #769430 #309480
split-complementary
#4E3094 #948030 #449430
monochromatic
#1D1238 #362166 #4E3094 #6740C1 #8C6ED0

Accessibility & contrast

On white

9.66
#4E3094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3094
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3094#FFFFFF#000000##FFFFFF
##4E30941.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#39485E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3094;
/* rgb */ color: rgb(78, 48, 148);
/* oklch */ color: oklch(40.5% 0.155 291.7);
Tailwind
colors: {
  custom: {
    50: '#866ab4',
    500: '#4e3094',
    950: '#000000',
  },
}
SCSS
$custom: #4e3094;
$custom-light: #866ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3094",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 258,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.15536,
    "h": 291.7
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#4E3094
secondary
#A0B868
accent
#DA4DB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E3094

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

Preview Lab → · Contrast checker → · Palette generator →

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