#4D00A6

A color in the Violet family

#4d00a6 is a color in the Violet family: RGB(77, 0, 166), HSL(268°, 100%, 33%), CMYK(54%, 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#4d00a6
RGBrgb(77 0 166)
RGB (legacy)rgb(77, 0, 166)
RGB %rgb(30% 0% 65%)
HSLhsl(268 100% 33%)
HSV / HSBhsv(268, 100%, 65%)
HWBhwb(268 0% 35%)
CMYKcmyk(54%, 100%, 0%, 35%)
CIELAB (D50)lab(23.55 53.72 -70.2)
LCHlch(23.55 88.4 307.42)
OKLaboklab(0.3799 0.0795 -0.197)
OKLCHoklch(0.3799 0.2124 291.97)
Decimal5046438

Properties

Color ToneViolet
Closest named colorindigo ΔE 6.2
Closest web-safe color#660099
Hue268°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)33%
Brightness or Value (HSV)65%
Luminance (Rec.601 / Rec.709)16% / 11%
Relative luminance (WCAG)0.0433
Red / Green / Blue77 / 0 / 166

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: #4d00a6;
  --color-brand-oklch: oklch(37.99% 0.2124 291.97);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(77 0 166 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4d00a6] text-[#4d00a6] border-[#4d00a6]">