#514BAF

A color in the Violet family

#514baf is a color in the Violet family: RGB(81, 75, 175), HSL(244°, 40%, 49%), CMYK(54%, 57%, 0%, 31%). Closest named color: darkslateblue. Contrast is 7.06:1 on white and 2.98:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514baf
RGBrgb(81 75 175)
RGB (legacy)rgb(81, 75, 175)
RGB %rgb(32% 29% 69%)
HSLhsl(244 40% 49%)
HSV / HSBhsv(244, 57%, 69%)
HWBhwb(244 29% 31%)
CMYKcmyk(54%, 57%, 0%, 31%)
CIELAB (D50)lab(36.88 24.65 -53.78)
LCHlch(36.88 59.16 294.63)
OKLaboklab(0.4747 0.0307 -0.1513)
OKLCHoklch(0.4747 0.1543 281.46)
Decimal5327791

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 6.8
Closest web-safe color#663399
Hue244°
Saturation (HSL / HSV)40% / 57%
Lightness (HSL)49%
Brightness or Value (HSV)69%
Luminance (Rec.601 / Rec.709)35% / 33%
Relative luminance (WCAG)0.0988
Red / Green / Blue81 / 75 / 175

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.06:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.98: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 84.1 / -17.8 · As background with white / black text: Lc -89.1 / 19.9

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