#5C19B3

A color in the Violet family

#5c19b3 is a color in the Violet family: RGB(92, 25, 179), HSL(266°, 75%, 40%), CMYK(49%, 86%, 0%, 30%). Closest named color: darkslateblue. Contrast is 9.35:1 on white and 2.25:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5c19b3
RGBrgb(92 25 179)
RGB (legacy)rgb(92, 25, 179)
RGB %rgb(36% 10% 70%)
HSLhsl(266 75% 40%)
HSV / HSBhsv(266, 86%, 70%)
HWBhwb(266 10% 30%)
CMYKcmyk(49%, 86%, 0%, 30%)
CIELAB (D50)lab(28.93 52.39 -69.04)
LCHlch(28.93 86.67 307.19)
OKLaboklab(0.4237 0.0889 -0.1942)
OKLCHoklch(0.4237 0.2136 294.59)
Decimal6035891

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 9.2
Closest web-safe color#6600cc
Hue266°
Saturation (HSL / HSV)75% / 86%
Lightness (HSL)40%
Brightness or Value (HSV)70%
Luminance (Rec.601 / Rec.709)25% / 20%
Relative luminance (WCAG)0.0623
Red / Green / Blue92 / 25 / 179

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.35:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.25: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 90.2 / -12.1 · As background with white / black text: Lc -94.6 / 13.8

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: #5c19b3;
  --color-brand-oklch: oklch(42.37% 0.2136 294.59);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(92 25 179 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5c19b3] text-[#5c19b3] border-[#5c19b3]">