#4E2FFB

A color in the Violet family

#4e2ffb is a color in the Violet family: RGB(78, 47, 251), HSL(249°, 96%, 58%), CMYK(69%, 81%, 0%, 2%). Closest named color: blue. Contrast is 6.72:1 on white and 3.12:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e2ffb
RGBrgb(78 47 251)
RGB (legacy)rgb(78, 47, 251)
RGB %rgb(31% 18% 98%)
HSLhsl(249 96% 58%)
HSV / HSBhsv(249, 81%, 98%)
HWBhwb(249 18% 2%)
CMYKcmyk(69%, 81%, 0%, 2%)
CIELAB (D50)lab(37.08 58.12 -97.16)
LCHlch(37.08 113.21 300.89)
OKLaboklab(0.5042 0.033 -0.273)
OKLCHoklch(0.5042 0.275 276.89)
Decimal5124091

Properties

Color ToneViolet
Closest named colorblue ΔE 9.2
Closest web-safe color#6633ff
Hue249°
Saturation (HSL / HSV)96% / 81%
Lightness (HSL)58%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)31% / 27%
Relative luminance (WCAG)0.1062
Red / Green / Blue78 / 47 / 251

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.72:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.12:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 81.6 / -20.2 · As background with white / black text: Lc -86.7 / 22.4

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: #4e2ffb;
  --color-brand-oklch: oklch(50.42% 0.275 276.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 47 251 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e2ffb] text-[#4e2ffb] border-[#4e2ffb]">