#514B6F#514B6F

#514B6F is a dark, muted violet. Relative luminance 0.079; OKLCH L 43.4% C 0.059 H 291.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#514B6F
RGBrgb(81, 75, 111)
HSLhsl(250, 19%, 36%)
HSVhsv(250, 32%, 44%)
CMYKcmyk(27%, 32.4%, 0%, 56.5%)
CIE-LABlab(33.83, 11.20, -19.85)
CIE-LCHlch(33.83, 22.79, 299.44°)
OKLaboklab(43.39% 0.0215 -0.0549)
OKLCHoklch(43.39% 0.059 291.4)
XYZxyz(8.7780, 7.9290, 16.1038)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B6F #696F4B
analogous
#4B576F #514B6F #634B6F
triadic
#514B6F #6F514B #4B6F51
tetradic
#514B6F #6F4B57 #696F4B #4B6F63
square
#514B6F #6F4B57 #696F4B #4B6F63
split-complementary
#514B6F #6F634B #576F4B
monochromatic
#1C1A26 #36324A #514B6F #6C6494 #8D87AE

Accessibility & contrast

On white

8.12
#514B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#514B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B6F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B6F#FFFFFF#000000##FFFFFF
##514B6F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425070
Deuteranopia (green-blind)
#424F6E
Tritanopia (blue-blind)
#4B5158
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #514b6f;
/* rgb */ color: rgb(81, 75, 111);
/* oklch */ color: oklch(43.4% 0.059 291.4);
Tailwind
colors: {
  custom: {
    50: '#827d98',
    500: '#514b6f',
    950: '#000000',
  },
}
SCSS
$custom: #514b6f;
$custom-light: #827d98;
$custom-dark: #000000;
JSON
{
  "hex": "#514b6f",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 111
  },
  "hsl": {
    "h": 250,
    "s": 19.355,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43392,
    "c": 0.05901,
    "h": 291.4
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#514B6F
secondary
#959B7B
accent
#BC6CAF
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #514B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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