#4E4289#4E4289

#4E4289 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.8% C 0.114 H 288.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4E4289
RGBrgb(78, 66, 137)
HSLhsl(250, 35%, 40%)
HSVhsv(250, 52%, 54%)
CMYKcmyk(43.1%, 51.8%, 0%, 46.3%)
CIE-LABlab(32.53, 23.71, -38.09)
CIE-LCHlch(32.53, 44.87, 301.90°)
OKLaboklab(42.8% 0.0359 -0.108)
OKLCHoklch(42.8% 0.114 288.4)
XYZxyz(9.6042, 7.3219, 24.5693)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4289 #7D8942
analogous
#425A89 #4E4289 #724289
triadic
#4E4289 #894E42 #42894E
tetradic
#4E4289 #89425A #7D8942 #428972
square
#4E4289 #89425A #7D8942 #428972
split-complementary
#4E4289 #897242 #5A8942
monochromatic
#1F1A36 #362E60 #4E4289 #6859AF #8D82C3

Accessibility & contrast

On white

8.52
#4E4289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E4289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4289
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4289#FFFFFF#000000##FFFFFF
##4E42891.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8C
Deuteranopia (green-blind)
#244B87
Tritanopia (blue-blind)
#3D515F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4289;
/* rgb */ color: rgb(78, 66, 137);
/* oklch */ color: oklch(42.8% 0.114 288.4);
Tailwind
colors: {
  custom: {
    50: '#8376ac',
    500: '#4e4289',
    950: '#000000',
  },
}
SCSS
$custom: #4e4289;
$custom-light: #8376ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4289",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 137
  },
  "hsl": {
    "h": 250.141,
    "s": 34.975,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42795,
    "c": 0.11387,
    "h": 288.4
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#4E4289
secondary
#A5AE79
accent
#CB5DB8
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E4289

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

Preview Lab → · Contrast checker → · Palette generator →

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