#514B5F#514B5F

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

Color values

HEX#514B5F
RGBrgb(81, 75, 95)
HSLhsl(258, 12%, 33%)
HSVhsv(258, 21%, 37%)
CMYKcmyk(14.7%, 21.1%, 0%, 62.7%)
CIE-LABlab(33.15, 7.03, -10.80)
CIE-LCHlch(33.15, 12.89, 303.04°)
OKLaboklab(42.64% 0.0161 -0.0294)
OKLCHoklch(42.64% 0.033 298.7)
XYZxyz(7.9746, 7.6077, 11.8726)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B5F #595F4B
analogous
#4B4F5F #514B5F #5B4B5F
triadic
#514B5F #5F514B #4B5F51
tetradic
#514B5F #5F4B4F #595F4B #4B5F5B
square
#514B5F #5F4B4F #595F4B #4B5F5B
split-complementary
#514B5F #5F5B4B #4F5F4B
monochromatic
#17151B #34303D #514B5F #6E6681 #8D859F

Accessibility & contrast

On white

8.33
#514B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514B5F
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B5F#FFFFFF#000000##FFFFFF
##514B5F1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E60
Deuteranopia (green-blind)
#484E5E
Tritanopia (blue-blind)
#4F4E52
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #514b5f;
/* rgb */ color: rgb(81, 75, 95);
/* oklch */ color: oklch(42.6% 0.033 298.7);
Tailwind
colors: {
  custom: {
    50: '#827d8c',
    500: '#514b5f',
    950: '#000000',
  },
}
SCSS
$custom: #514b5f;
$custom-light: #827d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#514b5f",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 95
  },
  "hsl": {
    "h": 258,
    "s": 11.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42639,
    "c": 0.03348,
    "h": 298.7
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#514B5F
secondary
#878D79
accent
#B573A1
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #514B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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