#4E4085#4E4085

#4E4085 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.1% C 0.111 H 290.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4E4085
RGBrgb(78, 64, 133)
HSLhsl(252, 35%, 39%)
HSVhsv(252, 52%, 52%)
CMYKcmyk(41.4%, 51.9%, 0%, 47.8%)
CIE-LABlab(31.76, 23.77, -36.85)
CIE-LCHlch(31.76, 43.85, 302.83°)
OKLaboklab(42.14% 0.0383 -0.1044)
OKLCHoklch(42.14% 0.111 290.1)
XYZxyz(9.2078, 6.9797, 23.0478)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4085 #778540
analogous
#405485 #4E4085 #704085
triadic
#4E4085 #854E40 #40854E
tetradic
#4E4085 #854054 #778540 #408570
square
#4E4085 #854054 #778540 #408570
split-complementary
#4E4085 #857040 #548540
monochromatic
#1E1832 #362C5C #4E4085 #6755AD #8C7EC1

Accessibility & contrast

On white

8.76
#4E4085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4E4085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4085
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4085#FFFFFF#000000##FFFFFF
##4E40851.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C87
Deuteranopia (green-blind)
#254983
Tritanopia (blue-blind)
#3F4E5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4085;
/* rgb */ color: rgb(78, 64, 133);
/* oklch */ color: oklch(42.1% 0.111 290.1);
Tailwind
colors: {
  custom: {
    50: '#8375a9',
    500: '#4e4085',
    950: '#000000',
  },
}
SCSS
$custom: #4e4085;
$custom-light: #8375a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4085",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 252.174,
    "s": 35.025,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42139,
    "c": 0.1112,
    "h": 290.1
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#4E4085
secondary
#A1AC75
accent
#CB5DB5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E4085

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

Preview Lab → · Contrast checker → · Palette generator →

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