#514B5E#514B5E

#514B5E is a dark, muted violet. Relative luminance 0.076; OKLCH L 42.6% C 0.032 H 299.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#514B5E
RGBrgb(81, 75, 94)
HSLhsl(259, 11%, 33%)
HSVhsv(259, 20%, 37%)
CMYKcmyk(13.8%, 20.2%, 0%, 63.1%)
CIE-LABlab(33.11, 6.78, -10.23)
CIE-LCHlch(33.11, 12.27, 303.54°)
OKLaboklab(42.6% 0.0157 -0.0278)
OKLCHoklch(42.6% 0.032 299.5)
XYZxyz(7.9294, 7.5896, 11.6347)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B5E #585E4B
analogous
#4B4E5E #514B5E #5A4B5E
triadic
#514B5E #5E514B #4B5E51
tetradic
#514B5E #5E4B4E #585E4B #4B5E5A
square
#514B5E #5E4B4E #585E4B #4B5E5A
split-complementary
#514B5E #5E5A4B #4E5E4B
monochromatic
#16151A #34303C #514B5E #6E6680 #8D859E

Accessibility & contrast

On white

8.34
#514B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#514B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B5E
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B5E#FFFFFF#000000##FFFFFF
##514B5E1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E5F
Deuteranopia (green-blind)
#484E5D
Tritanopia (blue-blind)
#4F4E51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #514b5e;
/* rgb */ color: rgb(81, 75, 94);
/* oklch */ color: oklch(42.6% 0.032 299.5);
Tailwind
colors: {
  custom: {
    50: '#827d8b',
    500: '#514b5e',
    950: '#000000',
  },
}
SCSS
$custom: #514b5e;
$custom-light: #827d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#514b5e",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 94
  },
  "hsl": {
    "h": 258.947,
    "s": 11.243,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.0319,
    "h": 299.5
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#514B5E
secondary
#868C79
accent
#B474A0
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #514B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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