#514BAC

A color in the Violet family

#514bac is a color in the Violet family: RGB(81, 75, 172), HSL(244°, 39%, 48%), CMYK(53%, 56%, 0%, 33%). Closest named color: darkslateblue. Contrast is 7.11:1 on white and 2.95:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514bac
RGBrgb(81 75 172)
RGB (legacy)rgb(81, 75, 172)
RGB %rgb(32% 29% 67%)
HSLhsl(244 39% 48%)
HSV / HSBhsv(244, 56%, 67%)
HWBhwb(244 29% 33%)
CMYKcmyk(53%, 56%, 0%, 33%)
CIELAB (D50)lab(36.7 23.87 -52.3)
LCHlch(36.7 57.48 294.53)
OKLaboklab(0.4725 0.0306 -0.147)
OKLCHoklch(0.4725 0.1502 281.77)
Decimal5327788

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 6.4
Closest web-safe color#663399
Hue244°
Saturation (HSL / HSV)39% / 56%
Lightness (HSL)48%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)34% / 33%
Relative luminance (WCAG)0.0976
Red / Green / Blue81 / 75 / 172

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.11:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.95: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 84.4 / -17.6 · As background with white / black text: Lc -89.3 / 19.7

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: #514bac;
  --color-brand-oklch: oklch(47.25% 0.1502 281.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(81 75 172 / 50%); }
/* Tailwind CSS */
<div class="bg-[#514bac] text-[#514bac] border-[#514bac]">