#514B88

A color in the Violet family

#514b88 is a color in the Violet family: RGB(81, 75, 136), HSL(246°, 29%, 41%), CMYK(40%, 45%, 0%, 47%). Closest named color: darkslateblue. Contrast is 7.74:1 on white and 2.71:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514b88
RGBrgb(81 75 136)
RGB (legacy)rgb(81, 75, 136)
RGB %rgb(32% 29% 53%)
HSLhsl(246 29% 41%)
HSV / HSBhsv(246, 45%, 53%)
HWBhwb(246 29% 47%)
CMYKcmyk(40%, 45%, 0%, 47%)
CIELAB (D50)lab(34.74 14.81 -33.76)
LCHlch(34.74 36.86 293.68)
OKLaboklab(0.4479 0.0274 -0.094)
OKLCHoklch(0.4479 0.0979 286.23)
Decimal5327752

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 4.3
Closest web-safe color#663399
Hue246°
Saturation (HSL / HSV)29% / 45%
Lightness (HSL)41%
Brightness or Value (HSV)53%
Luminance (Rec.601 / Rec.709)33% / 32%
Relative luminance (WCAG)0.0856
Red / Green / Blue81 / 75 / 136

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.74:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.71: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 86.8 / -15.3 · As background with white / black text: Lc -91.5 / 17.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: #514b88;
  --color-brand-oklch: oklch(44.79% 0.0979 286.23);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(81 75 136 / 50%); }
/* Tailwind CSS */
<div class="bg-[#514b88] text-[#514b88] border-[#514b88]">