#514B6E#514B6E

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

Color values

HEX#514B6E
RGBrgb(81, 75, 110)
HSLhsl(250, 19%, 36%)
HSVhsv(250, 32%, 43%)
CMYKcmyk(26.4%, 31.8%, 0%, 56.9%)
CIE-LABlab(33.79, 10.93, -19.29)
CIE-LCHlch(33.79, 22.17, 299.54°)
OKLaboklab(43.34% 0.0212 -0.0533)
OKLCHoklch(43.34% 0.057 291.7)
XYZxyz(8.7232, 7.9071, 15.8155)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B6E #686E4B
analogous
#4B576E #514B6E #634B6E
triadic
#514B6E #6E514B #4B6E51
tetradic
#514B6E #6E4B57 #686E4B #4B6E63
square
#514B6E #6E4B57 #686E4B #4B6E63
split-complementary
#514B6E #6E634B #576E4B
monochromatic
#1B1925 #36324A #514B6E #6C6492 #8D87AD

Accessibility & contrast

On white

8.14
#514B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514B6E
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B6E#FFFFFF#000000##FFFFFF
##514B6E1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42506F
Deuteranopia (green-blind)
#424F6D
Tritanopia (blue-blind)
#4B5157
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #514b6e;
/* rgb */ color: rgb(81, 75, 110);
/* oklch */ color: oklch(43.3% 0.057 291.7);
Tailwind
colors: {
  custom: {
    50: '#827d97',
    500: '#514b6e',
    950: '#000000',
  },
}
SCSS
$custom: #514b6e;
$custom-light: #827d97;
$custom-dark: #000000;
JSON
{
  "hex": "#514b6e",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 110
  },
  "hsl": {
    "h": 250.286,
    "s": 18.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.05741,
    "h": 291.7
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#514B6E
secondary
#959A7B
accent
#BC6CAE
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #514B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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