#4E3099#4E3099

#4E3099 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.162 H 290.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#4E3099
RGBrgb(78, 48, 153)
HSLhsl(257, 52%, 39%)
HSVhsv(257, 69%, 60%)
CMYKcmyk(49%, 68.6%, 0%, 40%)
CIE-LABlab(29.50, 39.52, -52.81)
CIE-LCHlch(29.50, 65.96, 306.81°)
OKLaboklab(40.94% 0.0568 -0.1513)
OKLCHoklch(40.94% 0.162 290.6)
XYZxyz(9.9470, 6.0331, 30.7712)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3099 #7B9930
analogous
#304799 #4E3099 #833099
triadic
#4E3099 #994E30 #30994E
tetradic
#4E3099 #993047 #7B9930 #309983
square
#4E3099 #993047 #7B9930 #309983
split-complementary
#4E3099 #998330 #479930
monochromatic
#1F133C #36216A #4E3099 #6742C4 #8D71D2

Accessibility & contrast

On white

9.52
#4E3099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4E3099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3099
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3099#FFFFFF#000000##FFFFFF
##4E30991.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#364A60
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3099;
/* rgb */ color: rgb(78, 48, 153);
/* oklch */ color: oklch(40.9% 0.162 290.6);
Tailwind
colors: {
  custom: {
    50: '#876ab8',
    500: '#4e3099',
    950: '#000000',
  },
}
SCSS
$custom: #4e3099;
$custom-light: #876ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3099",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 257.143,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40939,
    "c": 0.16165,
    "h": 290.6
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#4E3099
secondary
#A3BA6B
accent
#DC4CB3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3099

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

Preview Lab → · Contrast checker → · Palette generator →

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