#4E3F83#4E3F83

#4E3F83 is a dark, moderate violet. Relative luminance 0.068; OKLCH L 41.8% C 0.110 H 291.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4E3F83
RGBrgb(78, 63, 131)
HSLhsl(253, 35%, 38%)
HSVhsv(253, 52%, 51%)
CMYKcmyk(40.5%, 51.9%, 0%, 48.6%)
CIE-LABlab(31.38, 23.81, -36.22)
CIE-LCHlch(31.38, 43.34, 303.32°)
OKLaboklab(41.81% 0.0395 -0.1026)
OKLCHoklch(41.81% 0.11 291)
XYZxyz(9.0150, 6.8132, 22.3084)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3F83 #74833F
analogous
#3F5283 #4E3F83 #703F83
triadic
#4E3F83 #834E3F #3F834E
tetradic
#4E3F83 #833F52 #74833F #3F8370
square
#4E3F83 #833F52 #74833F #3F8370
split-complementary
#4E3F83 #83703F #52833F
monochromatic
#1D1730 #352B5A #4E3F83 #6753AC #8B7CC0

Accessibility & contrast

On white

8.89
#4E3F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E3F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3F83
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3F83#FFFFFF#000000##FFFFFF
##4E3F831.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#264881
Tritanopia (blue-blind)
#404D5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e3f83;
/* rgb */ color: rgb(78, 63, 131);
/* oklch */ color: oklch(41.8% 0.110 291.0);
Tailwind
colors: {
  custom: {
    50: '#8374a7',
    500: '#4e3f83',
    950: '#000000',
  },
}
SCSS
$custom: #4e3f83;
$custom-light: #8374a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3f83",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 131
  },
  "hsl": {
    "h": 253.235,
    "s": 35.052,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.10989,
    "h": 291
  },
  "luminance": 0.06813
}

Semantic roles & 50–950 ramp

primary
#4E3F83
secondary
#9EAA73
accent
#CB5DB3
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E3F83

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

Preview Lab → · Contrast checker → · Palette generator →

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