#4E2EAE

A color in the Violet family

#4e2eae is a color in the Violet family: RGB(78, 46, 174), HSL(255°, 58%, 43%), CMYK(55%, 74%, 0%, 32%). Closest named color: darkslateblue. Contrast is 9.03:1 on white and 2.33:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e2eae
RGBrgb(78 46 174)
RGB (legacy)rgb(78, 46, 174)
RGB %rgb(31% 18% 68%)
HSLhsl(255 58% 43%)
HSV / HSBhsv(255, 74%, 68%)
HWBhwb(255 18% 32%)
CMYKcmyk(55%, 74%, 0%, 32%)
CIELAB (D50)lab(29.96 40.13 -64.45)
LCHlch(29.96 75.92 301.91)
OKLaboklab(0.4254 0.0545 -0.1816)
OKLCHoklch(0.4254 0.1896 286.72)
Decimal5123758

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 6.6
Closest web-safe color#663399
Hue255°
Saturation (HSL / HSV)58% / 74%
Lightness (HSL)43%
Brightness or Value (HSV)68%
Luminance (Rec.601 / Rec.709)28% / 24%
Relative luminance (WCAG)0.0663
Red / Green / Blue78 / 46 / 174

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.03:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.33: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 89.9 / -12.3 · As background with white / black text: Lc -94.4 / 14

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: #4e2eae;
  --color-brand-oklch: oklch(42.54% 0.1896 286.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 46 174 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e2eae] text-[#4e2eae] border-[#4e2eae]">