#4E33FF

A color in the Violet family

#4e33ff is a color in the Violet family: RGB(78, 51, 255), HSL(248°, 100%, 60%), CMYK(69%, 80%, 0%, 0%). Closest named color: blue. Contrast is 6.48:1 on white and 3.24:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4e33ff
RGBrgb(78 51 255)
RGB (legacy)rgb(78, 51, 255)
RGB %rgb(31% 20% 100%)
HSLhsl(248 100% 60%)
HSV / HSBhsv(248, 80%, 100%)
HWBhwb(248 20% 0%)
CMYKcmyk(69%, 80%, 0%, 0%)
CIELAB (D50)lab(38.08 57.38 -97.74)
LCHlch(38.08 113.34 300.42)
OKLaboklab(0.5123 0.0305 -0.2748)
OKLCHoklch(0.5123 0.2765 276.32)
Decimal5125119

Properties

Color ToneViolet
Closest named colorblue ΔE 9.5
Closest web-safe color#6633ff
Hue248°
Saturation (HSL / HSV)100% / 80%
Lightness (HSL)60%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)32% / 28%
Relative luminance (WCAG)0.1121
Red / Green / Blue78 / 51 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.48:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.24: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 80.7 / -21.2 · As background with white / black text: Lc -85.8 / 23.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: #4e33ff;
  --color-brand-oklch: oklch(51.23% 0.2765 276.32);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 51 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e33ff] text-[#4e33ff] border-[#4e33ff]">