#4E3E83#4E3E83

#4E3E83 is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.6% C 0.112 H 291.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4E3E83
RGBrgb(78, 62, 131)
HSLhsl(254, 36%, 38%)
HSVhsv(254, 53%, 51%)
CMYKcmyk(40.5%, 52.7%, 0%, 48.6%)
CIE-LABlab(31.12, 24.45, -36.63)
CIE-LCHlch(31.12, 44.04, 303.72°)
OKLaboklab(41.62% 0.0408 -0.1038)
OKLCHoklch(41.62% 0.112 291.5)
XYZxyz(8.9601, 6.7034, 22.2901)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3E83 #73833E
analogous
#3E5083 #4E3E83 #703E83
triadic
#4E3E83 #834E3E #3E834E
tetradic
#4E3E83 #833E50 #73833E #3E8370
square
#4E3E83 #833E50 #73833E #3E8370
split-complementary
#4E3E83 #83703E #50833E
monochromatic
#1D1730 #352A59 #4E3E83 #6752AD #8B7BC0

Accessibility & contrast

On white

8.97
#4E3E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4E3E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3E83
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3E83#FFFFFF#000000##FFFFFF
##4E3E831.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A85
Deuteranopia (green-blind)
#244881
Tritanopia (blue-blind)
#404C5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e3e83;
/* rgb */ color: rgb(78, 62, 131);
/* oklch */ color: oklch(41.6% 0.112 291.5);
Tailwind
colors: {
  custom: {
    50: '#8373a7',
    500: '#4e3e83',
    950: '#000000',
  },
}
SCSS
$custom: #4e3e83;
$custom-light: #8373a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3e83",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 131
  },
  "hsl": {
    "h": 253.913,
    "s": 35.751,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41621,
    "c": 0.11151,
    "h": 291.5
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#4E3E83
secondary
#9EAB72
accent
#CC5CB2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E3E83

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

Preview Lab → · Contrast checker → · Palette generator →

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