#4E3E8A#4E3E8A

#4E3E8A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.1% C 0.122 H 289.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4E3E8A
RGBrgb(78, 62, 138)
HSLhsl(253, 38%, 39%)
HSVhsv(253, 55%, 54%)
CMYKcmyk(43.5%, 55.1%, 0%, 45.9%)
CIE-LABlab(31.58, 26.56, -40.23)
CIE-LCHlch(31.58, 48.21, 303.44°)
OKLaboklab(42.11% 0.0413 -0.1143)
OKLCHoklch(42.11% 0.122 289.8)
XYZxyz(9.4507, 6.8996, 24.8736)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3E8A #7A8A3E
analogous
#3E548A #4E3E8A #743E8A
triadic
#4E3E8A #8A4E3E #3E8A4E
tetradic
#4E3E8A #8A3E54 #7A8A3E #3E8A74
square
#4E3E8A #8A3E54 #7A8A3E #3E8A74
split-complementary
#4E3E8A #8A743E #548A3E
monochromatic
#1E1836 #362B60 #4E3E8A #6753B2 #8D7EC5

Accessibility & contrast

On white

8.82
#4E3E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E3E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3E8A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3E8A#FFFFFF#000000##FFFFFF
##4E3E8A1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8D
Deuteranopia (green-blind)
#1C4988
Tritanopia (blue-blind)
#3D4E5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e3e8a;
/* rgb */ color: rgb(78, 62, 138);
/* oklch */ color: oklch(42.1% 0.122 289.8);
Tailwind
colors: {
  custom: {
    50: '#8473ad',
    500: '#4e3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #4e3e8a;
$custom-light: #8473ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3e8a",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 252.632,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42106,
    "c": 0.12157,
    "h": 289.8
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#4E3E8A
secondary
#A3AF75
accent
#CE5AB6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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