#514B8B

A color in the Violet family

#514b8b is a color in the Violet family: RGB(81, 75, 139), HSL(246°, 30%, 42%), CMYK(42%, 46%, 0%, 45%). Closest named color: darkslateblue. Contrast is 7.69:1 on white and 2.73:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514b8b
RGBrgb(81 75 139)
RGB (legacy)rgb(81, 75, 139)
RGB %rgb(32% 29% 55%)
HSLhsl(246 30% 42%)
HSV / HSBhsv(246, 46%, 55%)
HWBhwb(246 29% 45%)
CMYKcmyk(42%, 46%, 0%, 45%)
CIELAB (D50)lab(34.88 15.53 -35.36)
LCHlch(34.88 38.62 293.7)
OKLaboklab(0.4498 0.0279 -0.0986)
OKLCHoklch(0.4498 0.1024 285.78)
Decimal5327755

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 4.2
Closest web-safe color#663399
Hue246°
Saturation (HSL / HSV)30% / 46%
Lightness (HSL)42%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)33% / 32%
Relative luminance (WCAG)0.0865
Red / Green / Blue81 / 75 / 139

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.69:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.73: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 86.6 / -15.5 · As background with white / black text: Lc -91.4 / 17.4

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