#4E4D8A

A color in the Violet family

#4e4d8a is a color in the Violet family: RGB(78, 77, 138), HSL(241°, 28%, 42%), CMYK(43%, 44%, 0%, 46%). Closest named color: darkslateblue. Contrast is 7.63:1 on white and 2.75:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e4d8a
RGBrgb(78 77 138)
RGB (legacy)rgb(78, 77, 138)
RGB %rgb(31% 30% 54%)
HSLhsl(241 28% 42%)
HSV / HSBhsv(241, 44%, 54%)
HWBhwb(241 30% 46%)
CMYKcmyk(43%, 44%, 0%, 46%)
CIELAB (D50)lab(35.12 13.14 -34.41)
LCHlch(35.12 36.83 290.91)
OKLaboklab(0.4507 0.0212 -0.0958)
OKLCHoklch(0.4507 0.0982 282.46)
Decimal5131658

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 4.6
Closest web-safe color#666699
Hue241°
Saturation (HSL / HSV)28% / 44%
Lightness (HSL)42%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)33% / 32%
Relative luminance (WCAG)0.0876
Red / Green / Blue78 / 77 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.63:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.75:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 86.4 / -15.7 · As background with white / black text: Lc -91.2 / 17.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #4e4d8a;
  --color-brand-oklch: oklch(45.07% 0.0982 282.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 77 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e4d8a] text-[#4e4d8a] border-[#4e4d8a]">