#4E3F85#4E3F85

#4E3F85 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.9% C 0.113 H 290.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4E3F85
RGBrgb(78, 63, 133)
HSLhsl(253, 36%, 38%)
HSVhsv(253, 53%, 52%)
CMYKcmyk(41.4%, 52.6%, 0%, 47.8%)
CIE-LABlab(31.50, 24.41, -37.26)
CIE-LCHlch(31.50, 44.54, 303.23°)
OKLaboklab(41.95% 0.0396 -0.1056)
OKLCHoklch(41.95% 0.113 290.6)
XYZxyz(9.1519, 6.8679, 23.0292)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3F85 #76853F
analogous
#3F5385 #4E3F85 #713F85
triadic
#4E3F85 #854E3F #3F854E
tetradic
#4E3F85 #853F53 #76853F #3F8571
square
#4E3F85 #853F53 #76853F #3F8571
split-complementary
#4E3F85 #85713F #53853F
monochromatic
#1D1832 #362B5B #4E3F85 #6753AE #8C7DC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E3F85#FFFFFF#000000##FFFFFF
##4E3F851.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)
#224B87
Deuteranopia (green-blind)
#244983
Tritanopia (blue-blind)
#3F4D5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e3f85;
/* rgb */ color: rgb(78, 63, 133);
/* oklch */ color: oklch(41.9% 0.113 290.6);
Tailwind
colors: {
  custom: {
    50: '#8374a9',
    500: '#4e3f85',
    950: '#000000',
  },
}
SCSS
$custom: #4e3f85;
$custom-light: #8374a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3f85",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 133
  },
  "hsl": {
    "h": 252.857,
    "s": 35.714,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41947,
    "c": 0.1128,
    "h": 290.6
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#4E3F85
secondary
#A0AC74
accent
#CC5CB4
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E3F85

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

Preview Lab → · Contrast checker → · Palette generator →

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