#4E4288#4E4288

#4E4288 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.7% C 0.112 H 288.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4E4288
RGBrgb(78, 66, 136)
HSLhsl(250, 35%, 40%)
HSVhsv(250, 51%, 53%)
CMYKcmyk(42.6%, 51.5%, 0%, 46.7%)
CIE-LABlab(32.47, 23.40, -37.57)
CIE-LCHlch(32.47, 44.27, 301.92°)
OKLaboklab(42.73% 0.0358 -0.1065)
OKLCHoklch(42.73% 0.112 288.6)
XYZxyz(9.5328, 7.2934, 24.1933)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4288 #7C8842
analogous
#425988 #4E4288 #714288
triadic
#4E4288 #884E42 #42884E
tetradic
#4E4288 #884259 #7C8842 #428871
square
#4E4288 #884259 #7C8842 #428871
split-complementary
#4E4288 #887142 #598842
monochromatic
#1F1A36 #362E5F #4E4288 #6859AE #8D82C2

Accessibility & contrast

On white

8.54
#4E4288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4288
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4288#FFFFFF#000000##FFFFFF
##4E42881.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8A
Deuteranopia (green-blind)
#254B86
Tritanopia (blue-blind)
#3E505E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4288;
/* rgb */ color: rgb(78, 66, 136);
/* oklch */ color: oklch(42.7% 0.112 288.6);
Tailwind
colors: {
  custom: {
    50: '#8376ab',
    500: '#4e4288',
    950: '#000000',
  },
}
SCSS
$custom: #4e4288;
$custom-light: #8376ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4288",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 250.286,
    "s": 34.653,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42727,
    "c": 0.1124,
    "h": 288.6
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4288

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

Preview Lab → · Contrast checker → · Palette generator →

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