#4E2EEF

A color in the Violet family

#4e2eef is a color in the Violet family: RGB(78, 46, 239), HSL(250°, 86%, 56%), CMYK(67%, 81%, 0%, 6%). Closest named color: blue. Contrast is 7.09:1 on white and 2.96:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e2eef
RGBrgb(78 46 239)
RGB (legacy)rgb(78, 46, 239)
RGB %rgb(31% 18% 94%)
HSLhsl(250 86% 56%)
HSV / HSBhsv(250, 81%, 94%)
HWBhwb(250 18% 6%)
CMYKcmyk(67%, 81%, 0%, 6%)
CIELAB (D50)lab(35.76 55.72 -92.59)
LCHlch(35.76 108.06 301.04)
OKLaboklab(0.4905 0.0368 -0.2603)
OKLCHoklch(0.4905 0.2629 278.05)
Decimal5123823

Properties

Color ToneViolet
Closest named colorblue ΔE 9.4
Closest web-safe color#6633ff
Hue250°
Saturation (HSL / HSV)86% / 81%
Lightness (HSL)56%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)30% / 26%
Relative luminance (WCAG)0.0981
Red / Green / Blue78 / 46 / 239

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.09:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.96: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 83.2 / -18.8 · As background with white / black text: Lc -88.2 / 20.9

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