#4E37CD

A color in the Violet family

#4e37cd is a color in the Violet family: RGB(78, 55, 205), HSL(249°, 60%, 51%), CMYK(62%, 73%, 0%, 20%). Closest named color: slateblue. Contrast is 7.63:1 on white and 2.75:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e37cd
RGBrgb(78 55 205)
RGB (legacy)rgb(78, 55, 205)
RGB %rgb(31% 22% 80%)
HSLhsl(249 60% 51%)
HSV / HSBhsv(249, 73%, 80%)
HWBhwb(249 22% 20%)
CMYKcmyk(62%, 73%, 0%, 20%)
CIELAB (D50)lab(34.26 43.16 -75.62)
LCHlch(34.26 87.07 299.72)
OKLaboklab(0.4665 0.0409 -0.2131)
OKLCHoklch(0.4665 0.217 280.87)
Decimal5126093

Properties

Color ToneViolet
Closest named colorslateblue ΔE 9.1
Closest web-safe color#6633cc
Hue249°
Saturation (HSL / HSV)60% / 73%
Lightness (HSL)51%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)31% / 28%
Relative luminance (WCAG)0.0876
Red / Green / Blue78 / 55 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.63:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.75: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 85.6 / -16.4 · As background with white / black text: Lc -90.5 / 18.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: #4e37cd;
  --color-brand-oklch: oklch(46.65% 0.217 280.87);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 55 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e37cd] text-[#4e37cd] border-[#4e37cd]">