#4E3E89#4E3E89

#4E3E89 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.0% C 0.120 H 290.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4E3E89
RGBrgb(78, 62, 137)
HSLhsl(253, 38%, 39%)
HSVhsv(253, 55%, 54%)
CMYKcmyk(43.1%, 54.7%, 0%, 46.3%)
CIE-LABlab(31.51, 26.26, -39.72)
CIE-LCHlch(31.51, 47.62, 303.47°)
OKLaboklab(42.04% 0.0412 -0.1128)
OKLCHoklch(42.04% 0.12 290.1)
XYZxyz(9.3786, 6.8708, 24.4941)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3E89 #79893E
analogous
#3E5489 #4E3E89 #743E89
triadic
#4E3E89 #894E3E #3E894E
tetradic
#4E3E89 #893E54 #79893E #3E8974
square
#4E3E89 #893E54 #79893E #3E8974
split-complementary
#4E3E89 #89743E #54893E
monochromatic
#1E1835 #362B5F #4E3E89 #6753B1 #8C7DC4

Accessibility & contrast

On white

8.85
#4E3E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E3E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3E89
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3E89#FFFFFF#000000##FFFFFF
##4E3E891.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8C
Deuteranopia (green-blind)
#1D4887
Tritanopia (blue-blind)
#3D4E5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e3e89;
/* rgb */ color: rgb(78, 62, 137);
/* oklch */ color: oklch(42.0% 0.120 290.1);
Tailwind
colors: {
  custom: {
    50: '#8373ac',
    500: '#4e3e89',
    950: '#000000',
  },
}
SCSS
$custom: #4e3e89;
$custom-light: #8373ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3e89",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 252.8,
    "s": 37.688,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.12015,
    "h": 290.1
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#4E3E89
secondary
#A2AE74
accent
#CE5AB5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E3E89

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

Preview Lab → · Contrast checker → · Palette generator →

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