#514865#514865

#514865 is a dark, muted violet. Relative luminance 0.073; OKLCH L 42.2% C 0.049 H 298.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#514865
RGBrgb(81, 72, 101)
HSLhsl(259, 17%, 34%)
HSVhsv(259, 29%, 40%)
CMYKcmyk(19.8%, 28.7%, 0%, 60.4%)
CIE-LABlab(32.53, 10.47, -15.55)
CIE-LCHlch(32.53, 18.75, 303.95°)
OKLaboklab(42.24% 0.0232 -0.0427)
OKLCHoklch(42.24% 0.049 298.5)
XYZxyz(8.0592, 7.3236, 13.2984)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514865 #5C6548
analogous
#484E65 #514865 #604865
triadic
#514865 #655148 #486551
tetradic
#514865 #65484E #5C6548 #486560
square
#514865 #65484E #5C6548 #486560
split-complementary
#514865 #656048 #4E6548
monochromatic
#18151E #342F41 #514865 #6E6189 #8D82A6

Accessibility & contrast

On white

8.52
#514865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#514865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514865
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514865#FFFFFF#000000##FFFFFF
##5148651.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424D66
Deuteranopia (green-blind)
#434C64
Tritanopia (blue-blind)
#4D4C52
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514865;
/* rgb */ color: rgb(81, 72, 101);
/* oklch */ color: oklch(42.2% 0.049 298.5);
Tailwind
colors: {
  custom: {
    50: '#827b91',
    500: '#514865',
    950: '#000000',
  },
}
SCSS
$custom: #514865;
$custom-light: #827b91;
$custom-dark: #000000;
JSON
{
  "hex": "#514865",
  "rgb": {
    "r": 81,
    "g": 72,
    "b": 101
  },
  "hsl": {
    "h": 258.621,
    "s": 16.763,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42242,
    "c": 0.04861,
    "h": 298.5
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#514865
secondary
#8A9376
accent
#B96EA2
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #514865

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

Preview Lab → · Contrast checker → · Palette generator →

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