#54079D

A color in the Purple, Crimson, Magenta family

#54079d is a color in the Purple, Crimson, Magenta family: RGB(84, 7, 157), HSL(271°, 91%, 32%), CMYK(46%, 96%, 0%, 38%). Closest named color: indigo. Contrast is 11.09:1 on white and 1.89:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#54079d
RGBrgb(84 7 157)
RGB (legacy)rgb(84, 7, 157)
RGB %rgb(33% 3% 62%)
HSLhsl(271 91% 32%)
HSV / HSBhsv(271, 96%, 62%)
HWBhwb(271 3% 38%)
CMYKcmyk(46%, 96%, 0%, 38%)
CIELAB (D50)lab(24.22 51.5 -63.57)
LCHlch(24.22 81.82 309.01)
OKLaboklab(0.382 0.0931 -0.1787)
OKLCHoklch(0.382 0.2015 297.53)
Decimal5506973

Properties

Color TonePurple, Crimson, Magenta
Closest named colorindigo ΔE 5
Closest web-safe color#660099
Hue271°
Saturation (HSL / HSV)91% / 96%
Lightness (HSL)32%
Brightness or Value (HSV)62%
Luminance (Rec.601 / Rec.709)18% / 13%
Relative luminance (WCAG)0.0447
Red / Green / Blue84 / 7 / 157

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.09:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.89: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.8 / -8.8 · As background with white / black text: Lc -97.8 / 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: #54079d;
  --color-brand-oklch: oklch(38.2% 0.2015 297.53);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(84 7 157 / 50%); }
/* Tailwind CSS */
<div class="bg-[#54079d] text-[#54079d] border-[#54079d]">