#514560#514560

#514560 is a dark, muted violet. Relative luminance 0.069; OKLCH L 41.3% C 0.047 H 304.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#514560
RGBrgb(81, 69, 96)
HSLhsl(267, 16%, 32%)
HSVhsv(267, 28%, 38%)
CMYKcmyk(15.6%, 28.1%, 0%, 62.4%)
CIE-LABlab(31.46, 11.13, -14.01)
CIE-LCHlch(31.46, 17.90, 308.46°)
OKLaboklab(41.35% 0.0266 -0.0383)
OKLCHoklch(41.35% 0.047 304.7)
XYZxyz(7.6324, 6.8501, 11.9842)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514560 #546045
analogous
#454660 #514560 #5F4560
triadic
#514560 #605145 #456051
tetradic
#514560 #604546 #546045 #45605F
square
#514560 #604546 #546045 #45605F
split-complementary
#514560 #605F45 #466045
monochromatic
#151219 #332B3C #514560 #6F5F84 #8E7DA2

Accessibility & contrast

On white

8.86
#514560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#514560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514560
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514560#FFFFFF#000000##FFFFFF
##5145601.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404A61
Deuteranopia (green-blind)
#424A5F
Tritanopia (blue-blind)
#4F494E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514560;
/* rgb */ color: rgb(81, 69, 96);
/* oklch */ color: oklch(41.3% 0.047 304.7);
Tailwind
colors: {
  custom: {
    50: '#82788d',
    500: '#514560',
    950: '#000000',
  },
}
SCSS
$custom: #514560;
$custom-light: #82788d;
$custom-dark: #000000;
JSON
{
  "hex": "#514560",
  "rgb": {
    "r": 81,
    "g": 69,
    "b": 96
  },
  "hsl": {
    "h": 266.667,
    "s": 16.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41348,
    "c": 0.04663,
    "h": 304.7
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#514560
secondary
#828F72
accent
#B96F98
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #514560

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

Preview Lab → · Contrast checker → · Palette generator →

#514560 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva