#514B6C

A color in the Violet family

#514b6c is a color in the Violet family: RGB(81, 75, 108), HSL(251°, 18%, 36%), CMYK(25%, 31%, 0%, 58%). Closest named color: darkslateblue. Contrast is 8.16:1 on white and 2.57:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514b6c
RGBrgb(81 75 108)
RGB (legacy)rgb(81, 75, 108)
RGB %rgb(32% 29% 42%)
HSLhsl(251 18% 36%)
HSV / HSBhsv(251, 31%, 42%)
HWBhwb(251 29% 58%)
CMYKcmyk(25%, 31%, 0%, 58%)
CIELAB (D50)lab(33.53 8.54 -18.32)
LCHlch(33.53 20.21 295)
OKLaboklab(0.4324 0.0206 -0.0502)
OKLCHoklch(0.4324 0.0542 292.31)
Decimal5327724

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 7.3
Closest web-safe color#663366
Hue251°
Saturation (HSL / HSV)18% / 31%
Lightness (HSL)36%
Brightness or Value (HSV)42%
Luminance (Rec.601 / Rec.709)32% / 31%
Relative luminance (WCAG)0.0786
Red / Green / Blue81 / 75 / 108

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.16:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.57: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.2 / -13.9 · As background with white / black text: Lc -92.9 / 15.8

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