#4E3983#4E3983

#4E3983 is a dark, moderate violet. Relative luminance 0.062; OKLCH L 40.7% C 0.120 H 293.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4E3983
RGBrgb(78, 57, 131)
HSLhsl(257, 39%, 37%)
HSVhsv(257, 56%, 51%)
CMYKcmyk(40.5%, 56.5%, 0%, 48.6%)
CIE-LABlab(29.87, 27.61, -38.63)
CIE-LCHlch(29.87, 47.48, 305.56°)
OKLaboklab(40.69% 0.0476 -0.1096)
OKLCHoklch(40.69% 0.12 293.5)
XYZxyz(8.7007, 6.1844, 22.2036)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3983 #6E8339
analogous
#394983 #4E3983 #733983
triadic
#4E3983 #834E39 #39834E
tetradic
#4E3983 #833949 #6E8339 #398373
square
#4E3983 #833949 #6E8339 #398373
split-complementary
#4E3983 #837339 #498339
monochromatic
#1B142E #352658 #4E3983 #674CAE #8A74C2

Accessibility & contrast

On white

9.39
#4E3983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E3983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3983
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3983#FFFFFF#000000##FFFFFF
##4E39831.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164786
Deuteranopia (green-blind)
#1C4581
Tritanopia (blue-blind)
#404858
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e3983;
/* rgb */ color: rgb(78, 57, 131);
/* oklch */ color: oklch(40.7% 0.120 293.5);
Tailwind
colors: {
  custom: {
    50: '#8370a7',
    500: '#4e3983',
    950: '#000000',
  },
}
SCSS
$custom: #4e3983;
$custom-light: #8370a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3983",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 257.027,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.11953,
    "h": 293.5
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#4E3983
secondary
#9AAC6C
accent
#CF59AE
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E3983

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

Preview Lab → · Contrast checker → · Palette generator →

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