#514B62#514B62

#514B62 is a dark, muted violet. Relative luminance 0.077; OKLCH L 42.8% C 0.038 H 296.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#514B62
RGBrgb(81, 75, 98)
HSLhsl(256, 13%, 34%)
HSVhsv(256, 23%, 38%)
CMYKcmyk(17.3%, 23.5%, 0%, 61.6%)
CIE-LABlab(33.27, 7.78, -12.52)
CIE-LCHlch(33.27, 14.74, 301.84°)
OKLaboklab(42.77% 0.0172 -0.0342)
OKLCHoklch(42.77% 0.038 296.7)
XYZxyz(8.1136, 7.6633, 12.6046)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B62 #5C624B
analogous
#4B5162 #514B62 #5D4B62
triadic
#514B62 #62514B #4B6251
tetradic
#514B62 #624B51 #5C624B #4B625D
square
#514B62 #624B51 #5C624B #4B625D
split-complementary
#514B62 #625D4B #51624B
monochromatic
#18161D #34303F #514B62 #6E6685 #8D85A2

Accessibility & contrast

On white

8.29
#514B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#514B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B62
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B62#FFFFFF#000000##FFFFFF
##514B621.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464E63
Deuteranopia (green-blind)
#474E61
Tritanopia (blue-blind)
#4E4E53
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #514b62;
/* rgb */ color: rgb(81, 75, 98);
/* oklch */ color: oklch(42.8% 0.038 296.7);
Tailwind
colors: {
  custom: {
    50: '#827d8e',
    500: '#514b62',
    950: '#000000',
  },
}
SCSS
$custom: #514b62;
$custom-light: #827d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#514b62",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 98
  },
  "hsl": {
    "h": 255.652,
    "s": 13.295,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42771,
    "c": 0.03826,
    "h": 296.7
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#514B62
secondary
#8A9079
accent
#B672A4
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #514B62

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

Preview Lab → · Contrast checker → · Palette generator →

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