#514B7D

A color in the Violet family

#514b7d is a color in the Violet family: RGB(81, 75, 125), HSL(247°, 25%, 39%), CMYK(35%, 40%, 0%, 51%). Closest named color: darkslateblue. Contrast is 7.92:1 on white and 2.65:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514b7d
RGBrgb(81 75 125)
RGB (legacy)rgb(81, 75, 125)
RGB %rgb(32% 29% 49%)
HSLhsl(247 25% 39%)
HSV / HSBhsv(247, 40%, 49%)
HWBhwb(247 29% 51%)
CMYKcmyk(35%, 40%, 0%, 51%)
CIELAB (D50)lab(34.23 12.24 -27.8)
LCHlch(34.23 30.38 293.76)
OKLaboklab(0.4414 0.0252 -0.077)
OKLCHoklch(0.4414 0.081 288.11)
Decimal5327741

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 5.2
Closest web-safe color#663366
Hue247°
Saturation (HSL / HSV)25% / 40%
Lightness (HSL)39%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)32% / 31%
Relative luminance (WCAG)0.0826
Red / Green / Blue81 / 75 / 125

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.92:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.65: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.4 / -14.7 · As background with white / black text: Lc -92.1 / 16.6

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