#514B6D#514B6D

#514B6D is a dark, muted violet. Relative luminance 0.079; OKLCH L 43.3% C 0.056 H 292.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#514B6D
RGBrgb(81, 75, 109)
HSLhsl(251, 18%, 36%)
HSVhsv(251, 31%, 43%)
CMYKcmyk(25.7%, 31.2%, 0%, 57.3%)
CIE-LABlab(33.74, 10.66, -18.73)
CIE-LCHlch(33.74, 21.55, 299.64°)
OKLaboklab(43.29% 0.0209 -0.0518)
OKLCHoklch(43.29% 0.056 292)
XYZxyz(8.6691, 7.8855, 15.5304)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B6D #676D4B
analogous
#4B566D #514B6D #624B6D
triadic
#514B6D #6D514B #4B6D51
tetradic
#514B6D #6D4B56 #676D4B #4B6D62
square
#514B6D #6D4B56 #676D4B #4B6D62
split-complementary
#514B6D #6D624B #566D4B
monochromatic
#1B1924 #363249 #514B6D #6C6491 #8D86AC

Accessibility & contrast

On white

8.15
#514B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#514B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B6D
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B6D#FFFFFF#000000##FFFFFF
##514B6D1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42506E
Deuteranopia (green-blind)
#434F6C
Tritanopia (blue-blind)
#4B5157
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #514b6d;
/* rgb */ color: rgb(81, 75, 109);
/* oklch */ color: oklch(43.3% 0.056 292.0);
Tailwind
colors: {
  custom: {
    50: '#827d97',
    500: '#514b6d',
    950: '#000000',
  },
}
SCSS
$custom: #514b6d;
$custom-light: #827d97;
$custom-dark: #000000;
JSON
{
  "hex": "#514b6d",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 109
  },
  "hsl": {
    "h": 250.588,
    "s": 18.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43291,
    "c": 0.05582,
    "h": 292
  },
  "luminance": 0.07886
}

Semantic roles & 50–950 ramp

primary
#514B6D
secondary
#94997B
accent
#BB6DAD
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #514B6D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#514B6D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva