#514B7C

A color in the Violet family

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

Color Codes

HEX#514b7c
RGBrgb(81 75 124)
RGB (legacy)rgb(81, 75, 124)
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.18 12.01 -27.25)
LCHlch(34.18 29.78 293.79)
OKLaboklab(0.4409 0.025 -0.0754)
OKLCHoklch(0.4409 0.0795 288.3)
Decimal5327740

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 5.3
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.0824
Red / Green / Blue81 / 75 / 124

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.93: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.5 / -14.7 · As background with white / black text: Lc -92.2 / 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: #514b7c;
  --color-brand-oklch: oklch(44.09% 0.0795 288.3);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(81 75 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#514b7c] text-[#514b7c] border-[#514b7c]">