#4E4286#4E4286

#4E4286 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.6% C 0.109 H 289.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4E4286
RGBrgb(78, 66, 134)
HSLhsl(251, 34%, 39%)
HSVhsv(251, 51%, 53%)
CMYKcmyk(41.8%, 50.7%, 0%, 47.5%)
CIE-LABlab(32.34, 22.79, -36.54)
CIE-LCHlch(32.34, 43.07, 301.96°)
OKLaboklab(42.59% 0.0356 -0.1035)
OKLCHoklch(42.59% 0.109 289)
XYZxyz(9.3920, 7.2371, 23.4517)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4286 #7A8642
analogous
#425886 #4E4286 #704286
triadic
#4E4286 #864E42 #42864E
tetradic
#4E4286 #864258 #7A8642 #428670
square
#4E4286 #864258 #7A8642 #428670
split-complementary
#4E4286 #867042 #588642
monochromatic
#1E1A34 #362E5D #4E4286 #6758AD #8D81C1

Accessibility & contrast

On white

8.58
#4E4286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4E4286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4286
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4286#FFFFFF#000000##FFFFFF
##4E42861.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E88
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#3E505D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4286;
/* rgb */ color: rgb(78, 66, 134);
/* oklch */ color: oklch(42.6% 0.109 289.0);
Tailwind
colors: {
  custom: {
    50: '#8376aa',
    500: '#4e4286',
    950: '#000000',
  },
}
SCSS
$custom: #4e4286;
$custom-light: #8376aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4286",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 250.588,
    "s": 34,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42593,
    "c": 0.10946,
    "h": 289
  },
  "luminance": 0.07237
}

Semantic roles & 50–950 ramp

primary
#4E4286
secondary
#A3AC78
accent
#CA5EB7
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E4286

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

Preview Lab → · Contrast checker → · Palette generator →

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