#514B6A

A color in the Violet family

#514b6a is a color in the Violet family: RGB(81, 75, 106), HSL(252°, 17%, 35%), CMYK(24%, 29%, 0%, 58%). Closest named color: darkslategray. Contrast is 8.19:1 on white and 2.56:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514b6a
RGBrgb(81 75 106)
RGB (legacy)rgb(81, 75, 106)
RGB %rgb(32% 29% 42%)
HSLhsl(252 17% 35%)
HSV / HSBhsv(252, 29%, 42%)
HWBhwb(252 29% 58%)
CMYKcmyk(24%, 29%, 0%, 58%)
CIELAB (D50)lab(33.45 8.13 -17.18)
LCHlch(33.45 19.01 295.33)
OKLaboklab(0.4314 0.02 -0.047)
OKLCHoklch(0.4314 0.051 293.01)
Decimal5327722

Properties

Color ToneViolet
Closest named colordarkslategray ΔE 7.3
Closest web-safe color#663366
Hue252°
Saturation (HSL / HSV)17% / 29%
Lightness (HSL)35%
Brightness or Value (HSV)42%
Luminance (Rec.601 / Rec.709)32% / 31%
Relative luminance (WCAG)0.0782
Red / Green / Blue81 / 75 / 106

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.19:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.56: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.3 / -13.9 · As background with white / black text: Lc -92.9 / 15.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: #514b6a;
  --color-brand-oklch: oklch(43.14% 0.051 293.01);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(81 75 106 / 50%); }
/* Tailwind CSS */
<div class="bg-[#514b6a] text-[#514b6a] border-[#514b6a]">