#514566#514566

#514566 is a dark, muted violet. Relative luminance 0.070; OKLCH L 41.6% C 0.056 H 300.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#514566
RGBrgb(81, 69, 102)
HSLhsl(262, 19%, 34%)
HSVhsv(262, 32%, 40%)
CMYKcmyk(20.6%, 32.4%, 0%, 60%)
CIE-LABlab(31.73, 12.66, -17.43)
CIE-LCHlch(31.73, 21.54, 306.00°)
OKLaboklab(41.64% 0.0285 -0.048)
OKLCHoklch(41.64% 0.056 300.7)
XYZxyz(7.9192, 6.9649, 13.4949)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514566 #5A6645
analogous
#454966 #514566 #614566
triadic
#514566 #665145 #456651
tetradic
#514566 #664549 #5A6645 #456661
square
#514566 #664549 #5A6645 #456661
split-complementary
#514566 #666145 #496645
monochromatic
#17141D #342C41 #514566 #6E5E8B #8D7EA8

Accessibility & contrast

On white

8.78
#514566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#514566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514566
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514566#FFFFFF#000000##FFFFFF
##5145661.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4A67
Deuteranopia (green-blind)
#404A65
Tritanopia (blue-blind)
#4D4A51
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514566;
/* rgb */ color: rgb(81, 69, 102);
/* oklch */ color: oklch(41.6% 0.056 300.7);
Tailwind
colors: {
  custom: {
    50: '#827891',
    500: '#514566',
    950: '#000000',
  },
}
SCSS
$custom: #514566;
$custom-light: #827891;
$custom-dark: #000000;
JSON
{
  "hex": "#514566",
  "rgb": {
    "r": 81,
    "g": 69,
    "b": 102
  },
  "hsl": {
    "h": 261.818,
    "s": 19.298,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41637,
    "c": 0.05583,
    "h": 300.7
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#514566
secondary
#889473
accent
#BC6C9F
background
#F8F7F8
surface
#EFEDF0
border
#CAC8CB
text
#0A090D
muted
#7C7B7D

Preview Lab

Preview with #514566

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

Preview Lab → · Contrast checker → · Palette generator →

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