#4E4875

A color in the Violet family

#4e4875 is a color in the Violet family: RGB(78, 72, 117), HSL(248°, 24%, 37%), CMYK(33%, 38%, 0%, 54%). Closest named color: darkslateblue. Contrast is 8.37:1 on white and 2.51:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e4875
RGBrgb(78 72 117)
RGB (legacy)rgb(78, 72, 117)
RGB %rgb(31% 28% 46%)
HSLhsl(248 24% 37%)
HSV / HSBhsv(248, 38%, 46%)
HWBhwb(248 28% 54%)
CMYKcmyk(33%, 38%, 0%, 54%)
CIELAB (D50)lab(32.74 11.23 -25.18)
LCHlch(32.74 27.57 294.03)
OKLaboklab(0.4278 0.024 -0.0696)
OKLCHoklch(0.4278 0.0736 289.01)
Decimal5130357

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 5.3
Closest web-safe color#663366
Hue248°
Saturation (HSL / HSV)24% / 38%
Lightness (HSL)37%
Brightness or Value (HSV)46%
Luminance (Rec.601 / Rec.709)31% / 30%
Relative luminance (WCAG)0.0754
Red / Green / Blue78 / 72 / 117

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.37:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.51: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 88.8 / -13.4 · As background with white / black text: Lc -93.4 / 15.2

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: #4e4875;
  --color-brand-oklch: oklch(42.78% 0.0736 289.01);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 72 117 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e4875] text-[#4e4875] border-[#4e4875]">