#4E2BCA

A color in the Violet family

#4e2bca is a color in the Violet family: RGB(78, 43, 202), HSL(253°, 65%, 48%), CMYK(61%, 79%, 0%, 21%). Closest named color: darkslateblue. Contrast is 8.33:1 on white and 2.52:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4e2bca
RGBrgb(78 43 202)
RGB (legacy)rgb(78, 43, 202)
RGB %rgb(31% 17% 79%)
HSLhsl(253 65% 48%)
HSV / HSBhsv(253, 79%, 79%)
HWBhwb(253 17% 21%)
CMYKcmyk(61%, 79%, 0%, 21%)
CIELAB (D50)lab(31.82 48.28 -77.89)
LCHlch(31.82 91.64 301.79)
OKLaboklab(0.4491 0.0491 -0.2192)
OKLCHoklch(0.4491 0.2247 282.62)
Decimal5123018

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 10.6
Closest web-safe color#6633cc
Hue253°
Saturation (HSL / HSV)65% / 79%
Lightness (HSL)48%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)28% / 24%
Relative luminance (WCAG)0.0761
Red / Green / Blue78 / 43 / 202

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.33:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.52: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 87.6 / -14.5 · As background with white / black text: Lc -92.3 / 16.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: #4e2bca;
  --color-brand-oklch: oklch(44.91% 0.2247 282.62);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 43 202 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e2bca] text-[#4e2bca] border-[#4e2bca]">