#4E366D

A color in the Violet family

#4e366d is a color in the Violet family: RGB(78, 54, 109), HSL(266°, 34%, 32%), CMYK(28%, 50%, 0%, 57%). Closest named color: darkslateblue. Contrast is 10.13:1 on white and 2.07:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e366d
RGBrgb(78 54 109)
RGB (legacy)rgb(78, 54, 109)
RGB %rgb(31% 21% 43%)
HSLhsl(266 34% 32%)
HSV / HSBhsv(266, 50%, 43%)
HWBhwb(266 21% 57%)
CMYKcmyk(28%, 50%, 0%, 57%)
CIELAB (D50)lab(27.48 20.47 -28.38)
LCHlch(27.48 34.99 305.8)
OKLaboklab(0.3866 0.0501 -0.079)
OKLCHoklch(0.3866 0.0935 302.39)
Decimal5125741

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 5.2
Closest web-safe color#663366
Hue266°
Saturation (HSL / HSV)34% / 50%
Lightness (HSL)32%
Brightness or Value (HSV)43%
Luminance (Rec.601 / Rec.709)26% / 25%
Relative luminance (WCAG)0.0536
Red / Green / Blue78 / 54 / 109

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.13:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.07: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 93.4 / -9.1 · As background with white / black text: Lc -97.5 / 10.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: #4e366d;
  --color-brand-oklch: oklch(38.66% 0.0935 302.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 54 109 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e366d] text-[#4e366d] border-[#4e366d]">