#4E00A5

A color in the Violet family

#4e00a5 is a color in the Violet family: RGB(78, 0, 165), HSL(268°, 100%, 32%), CMYK(53%, 100%, 0%, 35%). Closest named color: indigo. Contrast is 11.25:1 on white and 1.87:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4e00a5
RGBrgb(78 0 165)
RGB (legacy)rgb(78, 0, 165)
RGB %rgb(31% 0% 65%)
HSLhsl(268 100% 32%)
HSV / HSBhsv(268, 100%, 65%)
HWBhwb(268 0% 35%)
CMYKcmyk(53%, 100%, 0%, 35%)
CIELAB (D50)lab(23.59 53.65 -69.52)
LCHlch(23.59 87.81 307.66)
OKLaboklab(0.38 0.0817 -0.1951)
OKLCHoklch(0.38 0.2115 292.71)
Decimal5111973

Properties

Color ToneViolet
Closest named colorindigo ΔE 6
Closest web-safe color#660099
Hue268°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)32%
Brightness or Value (HSV)65%
Luminance (Rec.601 / Rec.709)17% / 11%
Relative luminance (WCAG)0.0434
Red / Green / Blue78 / 0 / 165

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.25:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.87: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 93.7 / -8.8 · As background with white / black text: Lc -97.7 / 10.2

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: #4e00a5;
  --color-brand-oklch: oklch(38% 0.2115 292.71);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 0 165 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e00a5] text-[#4e00a5] border-[#4e00a5]">