#4E4287#4E4287

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

Color values

HEX#4E4287
RGBrgb(78, 66, 135)
HSLhsl(250, 34%, 39%)
HSVhsv(250, 51%, 53%)
CMYKcmyk(42.2%, 51.1%, 0%, 47.1%)
CIE-LABlab(32.40, 23.10, -37.06)
CIE-LCHlch(32.40, 43.67, 301.94°)
OKLaboklab(42.66% 0.0357 -0.105)
OKLCHoklch(42.66% 0.111 288.8)
XYZxyz(9.4621, 7.2651, 23.8207)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4287 #7B8742
analogous
#425987 #4E4287 #714287
triadic
#4E4287 #874E42 #42874E
tetradic
#4E4287 #874259 #7B8742 #428771
square
#4E4287 #874259 #7B8742 #428771
split-complementary
#4E4287 #877142 #598742
monochromatic
#1F1A35 #362E5E #4E4287 #6759AE #8D82C2

Accessibility & contrast

On white

8.56
#4E4287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4287
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4287#FFFFFF#000000##FFFFFF
##4E42871.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E89
Deuteranopia (green-blind)
#264B85
Tritanopia (blue-blind)
#3E505E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4287;
/* rgb */ color: rgb(78, 66, 135);
/* oklch */ color: oklch(42.7% 0.111 288.8);
Tailwind
colors: {
  custom: {
    50: '#8376aa',
    500: '#4e4287',
    950: '#000000',
  },
}
SCSS
$custom: #4e4287;
$custom-light: #8376aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4287",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 250.435,
    "s": 34.328,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4266,
    "c": 0.11093,
    "h": 288.8
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4287

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

Preview Lab → · Contrast checker → · Palette generator →

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