#514B5E

A color in the Violet family

#514b5e is a color in the Violet family: RGB(81, 75, 94), HSL(259°, 11%, 33%), CMYK(14%, 20%, 0%, 63%). Closest named color: darkslategray. Contrast is 8.34:1 on white and 2.52:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514b5e
RGBrgb(81 75 94)
RGB (legacy)rgb(81, 75, 94)
RGB %rgb(32% 29% 37%)
HSLhsl(259 11% 33%)
HSV / HSBhsv(259, 20%, 37%)
HWBhwb(259 29% 63%)
CMYKcmyk(14%, 20%, 0%, 63%)
CIELAB (D50)lab(33.03 5.8 -10.27)
LCHlch(33.03 11.79 299.44)
OKLaboklab(0.426 0.0157 -0.0278)
OKLCHoklch(0.426 0.0319 299.48)
Decimal5327710

Properties

Color ToneViolet
Closest named colordarkslategray ΔE 6
Closest web-safe color#663366
Hue259°
Saturation (HSL / HSV)11% / 20%
Lightness (HSL)33%
Brightness or Value (HSV)37%
Luminance (Rec.601 / Rec.709)31% / 30%
Relative luminance (WCAG)0.0759
Red / Green / Blue81 / 75 / 94

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.34:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.52: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 88.8 / -13.4 · As background with white / black text: Lc -93.4 / 15.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: #514b5e;
  --color-brand-oklch: oklch(42.6% 0.0319 299.48);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(81 75 94 / 50%); }
/* Tailwind CSS */
<div class="bg-[#514b5e] text-[#514b5e] border-[#514b5e]">