#4E3A67

A color in the Violet family

#4e3a67 is a color in the Violet family: RGB(78, 58, 103), HSL(267°, 28%, 32%), CMYK(24%, 44%, 0%, 60%). Closest named color: darkslateblue. Contrast is 9.88:1 on white and 2.13:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e3a67
RGBrgb(78 58 103)
RGB (legacy)rgb(78, 58, 103)
RGB %rgb(31% 23% 40%)
HSLhsl(267 28% 32%)
HSV / HSBhsv(267, 44%, 40%)
HWBhwb(267 23% 60%)
CMYKcmyk(24%, 44%, 0%, 60%)
CIELAB (D50)lab(28.25 16.77 -23.35)
LCHlch(28.25 28.75 305.7)
OKLaboklab(0.3908 0.0427 -0.0646)
OKLCHoklch(0.3908 0.0775 303.5)
Decimal5126759

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 6.1
Closest web-safe color#663366
Hue267°
Saturation (HSL / HSV)28% / 44%
Lightness (HSL)32%
Brightness or Value (HSV)40%
Luminance (Rec.601 / Rec.709)27% / 26%
Relative luminance (WCAG)0.0563
Red / Green / Blue78 / 58 / 103

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.88:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.13: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 92.8 / -9.6 · As background with white / black text: Lc -97 / 11.1

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: #4e3a67;
  --color-brand-oklch: oklch(39.08% 0.0775 303.5);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 58 103 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e3a67] text-[#4e3a67] border-[#4e3a67]">