#4D4792

A color in the Violet family

#4d4792 is a color in the Violet family: RGB(77, 71, 146), HSL(245°, 35%, 43%), CMYK(47%, 51%, 0%, 43%). Closest named color: darkslateblue. Contrast is 7.98:1 on white and 2.63:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4d4792
RGBrgb(77 71 146)
RGB (legacy)rgb(77, 71, 146)
RGB %rgb(30% 28% 57%)
HSLhsl(245 35% 43%)
HSV / HSBhsv(245, 51%, 57%)
HWBhwb(245 28% 43%)
CMYKcmyk(47%, 51%, 0%, 43%)
CIELAB (D50)lab(33.8 18.5 -41.37)
LCHlch(33.8 45.32 294.09)
OKLaboklab(0.4429 0.0289 -0.1159)
OKLCHoklch(0.4429 0.1194 284.02)
Decimal5064594

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 2.9
Closest web-safe color#663399
Hue245°
Saturation (HSL / HSV)35% / 51%
Lightness (HSL)43%
Brightness or Value (HSV)57%
Luminance (Rec.601 / Rec.709)32% / 30%
Relative luminance (WCAG)0.0816
Red / Green / Blue77 / 71 / 146

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.98:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.63: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.5 / -14.7 · As background with white / black text: Lc -92.2 / 16.5

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: #4d4792;
  --color-brand-oklch: oklch(44.29% 0.1194 284.02);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(77 71 146 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4d4792] text-[#4d4792] border-[#4d4792]">